T
- コンテンツを作成したソース型 public final class JsonContent<T> extends ObjectSE implements org.assertj.core.api.AssertProvider<JsonContentAssert>
コンストラクターと説明 |
---|
JsonContent(ClassSE<?> resourceLoadClass, ResolvableType type, StringSE json) 新しい JsonContent インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
JsonContentAssert | assertThat() 使用すべきではありません。 誤って使用しないようにしてください。代わりに、標準の AssertJ assertThat(context)... 呼び出しを優先してください。 |
StringSE | getJson() 実際の JSON コンテンツ文字列を返します。 |
StringSE | toString() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public JsonContent(ClassSE<?> resourceLoadClass, ResolvableType type, StringSE json)
JsonContent
インスタンスを作成します。resourceLoadClass
- リソースのロードに使用されるソースクラス type
- テスト中の型 (または、不明の場合は null
)json
- 実際の JSON コンテンツ @DeprecatedSE public JsonContentAssert assertThat()
assertThat(context)...
呼び出しを優先してください。assertThat
を使用してください。org.assertj.core.api.AssertProvider<JsonContentAssert>
の assertThat
public StringSE getJson()
public StringSE toString()
ObjectSE
の toStringSE