Skip to content

Commit

Permalink
Merge pull request spring-projects#12711 from ruifigueira:feature/tes…
Browse files Browse the repository at this point in the history
…t-property-values-doc

* pr/12711:
  Remove outdated reference to `EnvironmentTestUtils`
  • Loading branch information
snicoll committed Apr 3, 2018
2 parents 72cf471 + 958aa5d commit 6c61cbf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7160,14 +7160,14 @@ which auto-configures one for you.


[[boot-features-environment-test-utilities]]
==== EnvironmentTestUtils
`EnvironmentTestUtils` lets you quickly add properties to a
==== TestPropertyValues
`TestPropertyValues` lets you quickly add properties to a
`ConfigurableEnvironment` or `ConfigurableApplicationContext`. You can call it with
`key=value` strings, as follows:

[source,java,indent=0]
----
EnvironmentTestUtils.addEnvironment(env, "org=Spring", "name=Boot");
TestPropertyValues.of("org=Spring", "name=Boot").applyTo(env);
----


Expand Down

0 comments on commit 6c61cbf

Please sign in to comment.