Generated by

org.springframework.test.util Documentation Differences

This file contains all the changes in documentation in the package org.springframework.test.util as colored differences. Deletions are shown like this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a <code> tag will cause all subsequent paragraphs to be displayed differently.

Class AssertionErrors, void assertEquals(String, Object, Object)

AssertsAssert that two objects are equal. If not,raise an AssertionError is if not.

For thrownexample: with

 theassertEquals("Response givenheader message.[" + name + "]", actual, expected);
@param message describes the message value being checked @param expected the expected value @param actual the actual value
Class AssertionErrors, void assertTrue(String, boolean)

Asserts that aAssert the given condition is {@code true}. If not,and throwsraise an AssertionError withif the given messageit is not. @param message the message @param condition the condition to test for
Class AssertionErrors, void fail(String)

Fails a test with the given message. @param message describes the messagereason for the failure
Class AssertionErrors, void fail(String, Object, Object)

Fails a test with the given message passing along expected and actual values to be added to the message.

For example given:

 assertEquals("Response header [" + name + "]", actual, expected);

The resulting message is:

 Response header [Accept] expected:<application/json> but was:<text/plain>
@param message describes the message value that failed the match @param expected the expected value @param actual the actual value

Class JsonPathExpectationsHelper, void assertValue(String, <any>)

Evaluate the JSONPath and assert the resulting value with the given {@code Matcher}. @param content the response content @param matcher the matcher to assert on the resulting json path