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 theJsonValueis a double.org.assertj.core.api.AbstractIntegerAssert<?>Check that theJsonValueis an integer.org.assertj.core.api.AbstractLongAssert<?>isLong()Check that theJsonValueis 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, stringIsMethods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
isInteger
Check that theJsonValueis an integer.- Overrides:
isIntegerin classAssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>- Returns:
- The
AbstractIntegerAssertrepresentation of this Assert instance.
-
isLong
Check that theJsonValueis a long.- Overrides:
isLongin classAssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>- Returns:
- The
AbstractLongAssertrepresentation of this Assert instance.
-
isDouble
Check that theJsonValueis a double.- Overrides:
isDoublein classAssertJJsonValueAssert.AbstractJsonValueAssert<AssertJJsonValueAssert.NumberJsonValueAssert>- Returns:
- The
AbstractDoubleAssertrepresentation of this Assert instance.
-