- All Implemented Interfaces:
org.assertj.core.api.Assert<JsonMapAssert,,Map<String, Object>> org.assertj.core.api.Descriptable<JsonMapAssert>,org.assertj.core.api.EnumerableAssert<JsonMapAssert,,Map.Entry<? extends String, ? extends Object>> org.assertj.core.api.ExtensionPoints<JsonMapAssert,Map<String, Object>>
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptioncontainsAllEntriesOf(Map<? extends String, ?> other) protected final JsonMapAssertcontainsAnyOfForProxy(Map.Entry<? extends String, ?>... entries) containsEntry(String key, Object value) containsExactlyEntriesOf(Map<? extends String, ?> map) Deprecated.final JsonMapAssertcontainsExactlyForProxy(Map.Entry<? extends String, ?>... entries) Deprecated.protected final JsonMapAssertcontainsForProxy(Map.Entry<? extends String, ?>... expected) protected final JsonMapAssertcontainsOnlyForProxy(Map.Entry<? extends String, ?>... expected) @NotNull JsonMapAssertcontainsValue(@Nullable Object expected) protected JsonMapAssertcontainsValuesForProxy(Object... values) @NotNull JsonMapAssertdoesNotContainValue(@Nullable Object expected) Deprecated.hasAllNullFieldsOrPropertiesExcept(String... propertiesOrFieldsToIgnore) Deprecated.hasFieldOrProperty(String name) Deprecated.hasFieldOrPropertyWithValue(String name, Object value) Deprecated.Deprecated.hasNoNullFieldsOrPropertiesExcept(String... propertiesOrFieldsToIgnore) Deprecated.@NotNull JsonMapAssert@NotNull JsonMapAssertisEqualToComparingFieldByField(@Nullable Object other) Deprecated.@NotNull JsonMapAssertisEqualToComparingFieldByFieldRecursively(@Nullable Object other) Deprecated.@NotNull JsonMapAssertisEqualToComparingOnlyGivenFields(@Nullable Object other, @NotNull String... propertiesOrFieldsUsedInComparison) Deprecated.@NotNull JsonMapAssertisEqualToIgnoringGivenFields(@Nullable Object other, @NotNull String... propertiesOrFieldsToIgnore) Deprecated.@NotNull JsonMapAssertisEqualToIgnoringNullFields(@Nullable Object other) Deprecated.@NotNull JsonAssertMoves comparison to given node.Methods inherited from class org.assertj.core.api.AbstractMapAssert
allSatisfy, anySatisfy, as, as, contains, containsAnyOf, containsExactly, containsExactlyInAnyOrderEntriesOf, containsKey, containsKeys, containsKeysForProxy, containsOnly, containsOnlyKeys, containsOnlyKeys, containsOnlyKeysForProxy, containsValues, describedAs, describedAs, doesNotContain, doesNotContainEntry, doesNotContainForProxy, doesNotContainKey, doesNotContainKeys, doesNotContainKeysForProxy, doesNotHave, doesNotHaveSameClassAs, extracting, extracting, extractingByKey, extractingByKey, extractingByKeys, extractingByKeysForProxy, extractingFromEntries, extractingFromEntries, extractingFromEntriesForProxy, flatExtracting, has, hasEntrySatisfying, hasEntrySatisfying, hasEntrySatisfying, hasEntrySatisfying, hasKeySatisfying, hasSameClassAs, hasSameSizeAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, hasToString, hasValueSatisfying, is, isEmpty, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEmpty, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNullOrEmpty, isOfAnyClassIn, isSameAs, isUnmodifiable, noneSatisfy, overridingErrorMessage, size, usingComparator, usingComparator, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, values, withFailMessage, withThreadDumpOnErrorMethods inherited from class org.assertj.core.api.AbstractObjectAssert
doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasOnlyFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForTypeMethods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, descriptionText, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, hashCode, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, isElementOfCustomAssert, isInstanceOfSatisfying, isNull, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, withFailMessage, withRepresentationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, describedAs
-
Method Details
-
isEqualTo
- Specified by:
isEqualToin interfaceorg.assertj.core.api.Assert<JsonMapAssert,Map<String, Object>> - Overrides:
isEqualToin classorg.assertj.core.api.AbstractMapAssert<JsonMapAssert,Map<String, Object>, String, Object>
-
node
Moves comparison to given node. Second call navigates from the last position in the JSON. -
containsValue
-
doesNotContainValue
-
isEqualToIgnoringGivenFields
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToIgnoringGivenFields(@Nullable @Nullable Object other, @NotNull @NotNull String... propertiesOrFieldsToIgnore) Deprecated.- Overrides:
isEqualToIgnoringGivenFieldsin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
isEqualToComparingOnlyGivenFields
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToComparingOnlyGivenFields(@Nullable @Nullable Object other, @NotNull @NotNull String... propertiesOrFieldsUsedInComparison) Deprecated.- Overrides:
isEqualToComparingOnlyGivenFieldsin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
isEqualToIgnoringNullFields
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToIgnoringNullFields(@Nullable @Nullable Object other) Deprecated.- Overrides:
isEqualToIgnoringNullFieldsin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
isEqualToComparingFieldByField
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToComparingFieldByField(@Nullable @Nullable Object other) Deprecated.- Overrides:
isEqualToComparingFieldByFieldin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
isEqualToComparingFieldByFieldRecursively
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToComparingFieldByFieldRecursively(@Nullable @Nullable Object other) Deprecated.- Overrides:
isEqualToComparingFieldByFieldRecursivelyin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
containsEntry
-
containsAnyOfForProxy
@SafeVarargs protected final JsonMapAssert containsAnyOfForProxy(Map.Entry<? extends String, ?>... entries) -
containsAllEntriesOf
-
containsExactlyForProxy
@SafeVarargs @Deprecated public final JsonMapAssert containsExactlyForProxy(Map.Entry<? extends String, ?>... entries) Deprecated.This method does not support JsonUnit features. PreferAbstractMapAssert.containsOnly(Entry[]) -
containsExactlyEntriesOf
Deprecated.This method does not support JsonUnit features. PreferAbstractMapAssert.containsOnly(Entry[]) -
containsOnlyForProxy
@SafeVarargs protected final JsonMapAssert containsOnlyForProxy(Map.Entry<? extends String, ?>... expected) -
containsForProxy
@SafeVarargs protected final JsonMapAssert containsForProxy(Map.Entry<? extends String, ?>... expected) -
containsValuesForProxy
-
hasFieldOrProperty
Deprecated.Does not work. UseAbstractMapAssert.containsKey(Object)instead. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasFieldOrPropertyin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
hasFieldOrPropertyWithValue
Deprecated.Does not work. Usecontains(Entry[])instead. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasFieldOrPropertyWithValuein classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
hasAllNullFieldsOrProperties
Deprecated.Does not work. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasAllNullFieldsOrPropertiesin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
hasAllNullFieldsOrPropertiesExcept
@Deprecated public JsonMapAssert hasAllNullFieldsOrPropertiesExcept(String... propertiesOrFieldsToIgnore) Deprecated.Does not work. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasAllNullFieldsOrPropertiesExceptin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
hasNoNullFieldsOrProperties
Deprecated.Does not work. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasNoNullFieldsOrPropertiesin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-
hasNoNullFieldsOrPropertiesExcept
@Deprecated public JsonMapAssert hasNoNullFieldsOrPropertiesExcept(String... propertiesOrFieldsToIgnore) Deprecated.Does not work. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasNoNullFieldsOrPropertiesExceptin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,Map<String, Object>>
-