Package | Description |
---|---|
org.springframework.mock.env |
This package contains mock implementations of the
Environment and
PropertySource
abstractions introduced in Spring 3.1. |
Class and Description |
---|
MockEnvironment
Simple
ConfigurableEnvironment implementation exposing
MockEnvironment.setProperty(String, String) and MockEnvironment.withProperty(String, String)
methods for testing purposes. |
MockPropertySource
Simple
PropertySource implementation for use in testing. |