Package | Description |
---|---|
org.springframework.mock.env |
This package contains mock implementations of the
Environment and
PropertySource
abstractions introduced in Spring 3.1. |
Modifier and Type | Method and Description |
---|---|
MockEnvironment |
MockEnvironment.withProperty(java.lang.String key,
java.lang.String value)
Convenient synonym for
setProperty(java.lang.String, java.lang.String) that returns the current instance. |