Class ConditionalOnPropertyTest

java.lang.Object
org.broadleafcommerce.test.common.properties.ConditionalOnPropertyTest

@ContextConfiguration(initializers=org.broadleafcommerce.common.config.BroadleafEnvironmentConfiguringApplicationListener.class) public class ConditionalOnPropertyTest extends Object
Test to verify that properties are added to the environment early enough via the ApplicationListener so that @ConditionalOnProperty works
Author:
Phillip Verheyden (phillipuniverse)
  • Constructor Details

    • ConditionalOnPropertyTest

      public ConditionalOnPropertyTest()
  • Method Details

    • foundPropertyInstantiatesBean

      public void foundPropertyInstantiatesBean()
    • missingPropertyPreventsBean

      public void missingPropertyPreventsBean()