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)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid
-
Constructor Details
-
ConditionalOnPropertyTest
public ConditionalOnPropertyTest()
-
-
Method Details
-
foundPropertyInstantiatesBean
public void foundPropertyInstantiatesBean() -
missingPropertyPreventsBean
public void missingPropertyPreventsBean()
-