Class ChangesFactory
java.lang.Object
org.springframework.modulith.junit.ChangesFactory
Dedicated factory to create a
Changes instance from an Environment.- Since:
- 2.1
- Author:
- Oliver Drotbohm, Valentin Bossi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ChangesgetChanges(Environment environment) Creates a newChangesinstance from anEnvironment.
-
Constructor Details
-
ChangesFactory
ChangesFactory()
-
-
Method Details
-
getChanges
Creates a newChangesinstance from anEnvironment.- Parameters:
environment- will never be null.- Returns:
- will never be null.
-