程序包的使用
org.springframework.mock.env
使用org.springframework.mock.env的程序包 程序包 说明 org.springframework.mock.env This package contains mock implementations of theEnvironment
andPropertySource
abstractions introduced in Spring 3.1.org.springframework.mock.env使用的org.springframework.mock.env中的类 类 说明 MockEnvironment SimpleConfigurableEnvironment
implementation exposingMockEnvironment.setProperty(String, String)
andMockEnvironment.withProperty(String, String)
methods for testing purposes.MockPropertySource SimplePropertySource
implementation for use in testing.