Class TestApplicationModules
java.lang.Object
org.springframework.modulith.test.TestApplicationModules
Utility methods to work with test 
ApplicationModules. Not intended public API!- Author:
- Oliver Drotbohm
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescription(package private) static classCustomApplicationModulesFactoryto bootstrap anApplicationModulesinstance only considering test code.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ApplicationModulesCreates anApplicationModulesinstance from the given application class but only inspecting the test code.static ApplicationModulesCreates anApplicationModulesinstance from the given package but only inspecting the test code.
- 
Constructor Details- 
TestApplicationModulespublic TestApplicationModules()
 
- 
- 
Method Details- 
ofCreates anApplicationModulesinstance from the given package but only inspecting the test code.- Parameters:
- basePackage- must not be null or empty.
- Returns:
- will never be null.
 
- 
ofCreates anApplicationModulesinstance from the given application class but only inspecting the test code.- Parameters:
- applicationClass- must not be null or empty.
- Returns:
- will never be null.
- Since:
- 1.2
 
 
-