Class RiftContextCustomizerFactory

java.lang.Object
io.github.achirdlabs.rift.spring.RiftContextCustomizerFactory
All Implemented Interfaces:
org.springframework.test.context.ContextCustomizerFactory

public final class RiftContextCustomizerFactory extends Object implements org.springframework.test.context.ContextCustomizerFactory
Detects EnableRift on a test class and builds the RiftContextCustomizer that drives the engine and imposter lifecycle for its Spring test context.
  • Constructor Details

    • RiftContextCustomizerFactory

      public RiftContextCustomizerFactory()
  • Method Details

    • createContextCustomizer

      public org.springframework.test.context.ContextCustomizer createContextCustomizer(Class<?> testClass, List<org.springframework.test.context.ContextConfigurationAttributes> configAttributes)
      Specified by:
      createContextCustomizer in interface org.springframework.test.context.ContextCustomizerFactory