public class JSONObjectAssert
extends org.assertj.core.api.ObjectAssert<org.json.simple.JSONObject>
JSONObject value| Constructor and Description |
|---|
JSONObjectAssert(org.json.simple.JSONObject actual) |
| Modifier and Type | Method and Description |
|---|---|
org.assertj.core.api.BigDecimalAssert |
assertBigDecimal(String key)
Asserts that there is a
BigDecimal value for the given key returning the
BigDecimalAssert object so that further assertions can be chained |
org.assertj.core.api.BooleanAssert |
assertBoolean(String key)
Asserts that there is a
Boolean value for the given key returning the
BooleanAssert object so that further assertions can be chained |
org.assertj.core.api.ByteAssert |
assertByte(String key)
Asserts that there is a
Byte value for the given key returning the
ByteAssert object so that further assertions can be chained |
org.assertj.core.api.CharacterAssert |
assertCharacter(String key)
Asserts that there is a
Character value for the given key returning the
CharacterAssert object so that further assertions can be chained |
org.assertj.core.api.DateAssert |
assertDate(String key)
Asserts that there is a
Date value for the given key returning the
DateAssert object so that further assertions can be chained |
org.assertj.core.api.DoubleAssert |
assertDouble(String key)
Asserts that there is a
Double value for the given key returning the
DoubleAssert object so that further assertions can be chained |
org.assertj.core.api.FloatAssert |
assertFloat(String key)
Asserts that there is a
Float value for the given key returning the
FloatAssert object so that further assertions can be chained |
org.assertj.core.api.IntegerAssert |
assertInteger(String key)
Asserts that there is a
Integer value for the given key returning the
IntegerAssert object so that further assertions can be chained |
JSONArrayAssert |
assertJSONArray(String key)
Asserts that there is a
JSONObject value for the given key returning the
JSONObjectAssert object so that further assertions can be chained |
JSONObjectAssert |
assertJSONObject(String key)
Asserts that there is a
JSONObject value for the given key returning the
JSONObjectAssert object so that further assertions can be chained |
org.assertj.core.api.ListAssert |
assertList(String key)
Asserts that there is a
List value for the given key returning the
ListAssert object so that further assertions can be chained |
org.assertj.core.api.LongAssert |
assertLong(String key)
Asserts that there is a
Long value for the given key returning the
LongAssert object so that further assertions can be chained |
org.assertj.core.api.MapAssert |
assertMap(String key)
Asserts that there is a
Map value for the given key returning the
MapAssert object so that further assertions can be chained |
org.assertj.core.api.ObjectAssert |
assertObject(String key)
Asserts that there is a value at the given key returning the assertion object so that further assertions can be chained
|
org.assertj.core.api.ShortAssert |
assertShort(String key)
Asserts that there is a
Short value for the given key returning the
ShortAssert object so that further assertions can be chained |
org.assertj.core.api.IntegerAssert |
assertSize()
Returns an assertion on the size of the collection
|
org.assertj.core.api.StringAssert |
assertString(String key)
Asserts that there is a
String value for the given key returning the
StringAssert object so that further assertions can be chained |
org.json.simple.JSONObject |
get()
Returns the actual underlying value
|
Object |
value(String key)
Returns the value for the given key
|
isEqualsToByComparingFields, isEqualToComparingFieldByField, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, isLenientEqualsToByAcceptingFields, isLenientEqualsToByIgnoringFields, isLenientEqualsToByIgnoringNullFieldsas, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparatorpublic org.json.simple.JSONObject get()
public org.assertj.core.api.IntegerAssert assertSize()
public org.assertj.core.api.ObjectAssert assertObject(String key)
public org.assertj.core.api.BigDecimalAssert assertBigDecimal(String key)
BigDecimal value for the given key returning the
BigDecimalAssert object so that further assertions can be chainedpublic org.assertj.core.api.BooleanAssert assertBoolean(String key)
Boolean value for the given key returning the
BooleanAssert object so that further assertions can be chainedpublic org.assertj.core.api.ByteAssert assertByte(String key)
Byte value for the given key returning the
ByteAssert object so that further assertions can be chainedpublic org.assertj.core.api.CharacterAssert assertCharacter(String key)
Character value for the given key returning the
CharacterAssert object so that further assertions can be chainedpublic org.assertj.core.api.DateAssert assertDate(String key)
Date value for the given key returning the
DateAssert object so that further assertions can be chainedpublic org.assertj.core.api.DoubleAssert assertDouble(String key)
Double value for the given key returning the
DoubleAssert object so that further assertions can be chainedpublic org.assertj.core.api.FloatAssert assertFloat(String key)
Float value for the given key returning the
FloatAssert object so that further assertions can be chainedpublic org.assertj.core.api.IntegerAssert assertInteger(String key)
Integer value for the given key returning the
IntegerAssert object so that further assertions can be chainedpublic JSONArrayAssert assertJSONArray(String key)
JSONObject value for the given key returning the
JSONObjectAssert object so that further assertions can be chainedpublic JSONObjectAssert assertJSONObject(String key)
JSONObject value for the given key returning the
JSONObjectAssert object so that further assertions can be chainedpublic org.assertj.core.api.ListAssert assertList(String key)
List value for the given key returning the
ListAssert object so that further assertions can be chainedpublic org.assertj.core.api.LongAssert assertLong(String key)
Long value for the given key returning the
LongAssert object so that further assertions can be chainedpublic org.assertj.core.api.MapAssert assertMap(String key)
Map value for the given key returning the
MapAssert object so that further assertions can be chainedpublic org.assertj.core.api.ShortAssert assertShort(String key)
Short value for the given key returning the
ShortAssert object so that further assertions can be chainedpublic org.assertj.core.api.StringAssert assertString(String key)
String value for the given key returning the
StringAssert object so that further assertions can be chainedCopyright © 2011–2016 Red Hat. All rights reserved.