Package org.forgerock.json.test.assertj
Class AssertJJsonValueAssert.NumberJsonValueAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<T,JsonValue>
org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>
org.forgerock.json.test.assertj.AssertJJsonValueAssert.NumberJsonValueAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<AssertJJsonValueAssert.NumberJsonValueAssert,
,JsonValue> org.assertj.core.api.Descriptable<AssertJJsonValueAssert.NumberJsonValueAssert>
,org.assertj.core.api.ExtensionPoints<AssertJJsonValueAssert.NumberJsonValueAssert,
JsonValue>
- Enclosing class:
- AssertJJsonValueAssert
public static final class AssertJJsonValueAssert.NumberJsonValueAssert
extends AssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>
Class for assertions on number
JsonValue
.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Method Summary
Modifier and TypeMethodDescriptionorg.assertj.core.api.AbstractDoubleAssert<?>
isDouble()
Check that theJsonValue
is a double.org.assertj.core.api.AbstractIntegerAssert<?>
Check that theJsonValue
is an integer.org.assertj.core.api.AbstractLongAssert<?>
isLong()
Check that theJsonValue
is a long.Methods inherited from class org.forgerock.json.test.assertj.AssertJJsonValueAssert.AbstractJsonValueAssert
booleanAt, booleanIs, doesNotContain, doubleAt, doubleIs, hasArray, hasBoolean, hasNull, hasNumber, hasObject, hasPath, hasString, integerAt, integerIs, isArray, isBoolean, isEmpty, isNotNull, isNull, isNumber, isObject, isString, longAt, longIs, stringAt, stringIs
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotOfAnyClassIn, isNotSameAs, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Method Details
-
isInteger
Check that theJsonValue
is an integer.- Overrides:
isInteger
in classAssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>
- Returns:
- The
AbstractIntegerAssert
representation of this Assert instance.
-
isLong
Check that theJsonValue
is a long.- Overrides:
isLong
in classAssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>
- Returns:
- The
AbstractLongAssert
representation of this Assert instance.
-
isDouble
Check that theJsonValue
is a double.- Overrides:
isDouble
in classAssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>
- Returns:
- The
AbstractDoubleAssert
representation of this Assert instance.
-