Class JUnitUtils
java.lang.Object
org.springframework.kafka.test.utils.JUnitUtils
Utility methods for JUnit rules and conditions.
- Since:
 - 2.2
 
- 
Nested Class Summary
Nested Classes - 
Method Summary
Modifier and TypeMethodDescriptionstatic JUnitUtils.LevelsContaineradjustLogLevels(String methodName, List<Class<?>> classes, List<String> categories, org.apache.logging.log4j.Level level) static booleanparseBooleanProperty(String property) Return the parsed value if the provided property exists in the environment or system properties.static voidrevertLevels(String methodName, JUnitUtils.LevelsContainer container)  
- 
Method Details
- 
parseBooleanProperty
Return the parsed value if the provided property exists in the environment or system properties.- Parameters:
 property- the property name.- Returns:
 - the parsed property value if it exists, false otherwise.
 
 - 
adjustLogLevels
 - 
revertLevels
 
 -