Example usage for Java org.springframework.mock.env MockEnvironment fields, constructors, methods, implement or subclass
The text is from its open source code.
MockEnvironment() Create a new MockEnvironment with a single MockPropertySource . |
void | setActiveProfiles(String... profiles) |
void | setProperty(String key, String value) Set a property on the underlying MockPropertySource for this environment. |