Java org.springframework.mock.env MockEnvironment fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.mock.env MockEnvironment fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.mock.env MockEnvironment.

The text is from its open source code.

Constructor

MockEnvironment()
Create a new MockEnvironment with a single MockPropertySource .

Method

voidsetActiveProfiles(String... profiles)
voidsetProperty(String key, String value)
Set a property on the underlying MockPropertySource for this environment.