クラス JsonContent<T>
java.lang.ObjectSE
org.springframework.boot.test.json.JsonContent<T>
- 型パラメーター:
T
- コンテンツを作成したソース型
- 実装されたすべてのインターフェース:
org.assertj.core.api.AssertProvider<JsonContentAssert>
public final class JsonContent<T>
extends ObjectSE
implements org.assertj.core.api.AssertProvider<JsonContentAssert>
- 導入:
- 1.4.0
- 作成者:
- Phillip Webb, Diego Berrueta
コンストラクターのサマリー
コンストラクター説明JsonContent
(ClassSE<?> resourceLoadClass, ResolvableType type, StringSE json) 新しいJsonContent
インスタンスを作成します。メソッドのサマリー
コンストラクターの詳細
JsonContent
新しいJsonContent
インスタンスを作成します。- パラメーター:
resourceLoadClass
- リソースのロードに使用されるソースクラスtype
- テスト中の型 (または、不明の場合はnull
)json
- 実際の JSON コンテンツ
メソッドの詳細