类 ObjectContent<T>
java.lang.Object
org.springframework.boot.test.json.ObjectContent<T>
- 类型参数:
T
- the content type
- 所有已实现的接口:
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.- 从以下版本开始:
- 1.4.0
- 作者:
- Phillip Webb
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
ObjectContent
Create a newObjectContent
instance.- 参数:
type
- the type under test (ornull
if not known)object
- the actual object content
-
-
方法详细资料