Class SetupConfigurationValueProvider

  • public class SetupConfigurationValueProvider
    extends TestSetup
    Setup class allowing registration of custom configuration value providers, and also providing automatic cleanup.
    • Constructor Detail

      • SetupConfigurationValueProvider

        public SetupConfigurationValueProvider​(groovy.lang.Closure<ConfigurationValueProvider> configurationValueProvider)
        Create a new configuration value provider.
        configurationValueProvider - This is a closure so that instantiation can be "lazy", such that you can create configuration value providers which depend on other TestSetup resources, like newly created files, for example.