Example usage for Java org.springframework.mock.env MockPropertySource fields, constructors, methods, implement or subclass
The text is from its open source code.
MockPropertySource() Create a new MockPropertySource named #MOCK_PROPERTIES_PROPERTY_SOURCE_NAME that will maintain its own internal Properties instance. | |
MockPropertySource(String name) Create a new MockPropertySource with the given name that will maintain its own internal Properties instance. | |
MockPropertySource(Properties properties) Create a new MockPropertySource named #MOCK_PROPERTIES_PROPERTY_SOURCE_NAME and backed by the given Properties object. |
Object | getProperty(String name) |
String[] | getPropertyNames() |
void | setProperty(String name, Object value) Set the given property on the underlying Properties object. |