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 |
---|---|
MockPropertySource |
MockPropertySource.withProperty(String name,
Object value)
Convenient synonym for
setProperty(java.lang.String, java.lang.Object) that returns the current instance. |