Uses of Class
org.springframework.mock.env.MockEnvironment
Packages that use MockEnvironment
Package
Description
This package contains mock implementations of the
Environment
and
PropertySource
abstractions.-
Uses of MockEnvironment in org.springframework.mock.env
Methods in org.springframework.mock.env that return MockEnvironmentModifier and TypeMethodDescriptionMockEnvironment.withProperty
(String name, Object value) Convenient synonym forsetProperty(String, Object)
that returns the current instance.MockEnvironment.withProperty
(String name, String value) Convenient synonym forsetProperty(String, String)
that returns the current instance.