Class ObjectContent<T>
java.lang.Object
org.springframework.boot.test.json.ObjectContent<T>
- Type Parameters:
T
- the content type
- All Implemented Interfaces:
org.assertj.core.api.AssertProvider<ObjectContentAssert<T>>
public final class ObjectContent<T>
extends Object
implements org.assertj.core.api.AssertProvider<ObjectContentAssert<T>>
Object content usually created from
AbstractJsonMarshalTester
. Generally used
only to provide
ObjectContentAssert
to AssertJ
assertThat
calls.- Since:
- 1.4.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorDescriptionObjectContent
(ResolvableType type, T object) Create a newObjectContent
instance. -
Method Summary
-
Constructor Details
-
ObjectContent
Create a newObjectContent
instance.- Parameters:
type
- the type under test (ornull
if not known)object
- the actual object content
-
-
Method Details