Class MockEnvironment

java.lang.Object
org.springframework.core.env.AbstractEnvironment
org.springframework.mock.env.MockEnvironment
All Implemented Interfaces:
ConfigurableEnvironment, ConfigurablePropertyResolver, Environment, PropertyResolver

public class MockEnvironment extends AbstractEnvironment
Simple ConfigurableEnvironment implementation exposing setProperty(String, String) and withProperty(String, String) methods for testing purposes.
Since:
3.2
Author:
Chris Beams, Sam Brannen
See Also: