Package net.javacrumbs.jsonunit.assertj
Class JsonMapAssert
- 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 JsonMapAssert
containsAnyOfForProxy
(Map.Entry<? extends String, ?>... entries) containsEntry
(String key, Object value) containsExactlyEntriesOf
(Map<? extends String, ?> map) Deprecated.final JsonMapAssert
containsExactlyForProxy
(Map.Entry<? extends String, ?>... entries) Deprecated.protected final JsonMapAssert
containsForProxy
(Map.Entry<? extends String, ?>... expected) protected final JsonMapAssert
containsOnlyForProxy
(Map.Entry<? extends String, ?>... expected) @NotNull JsonMapAssert
containsValue
(@Nullable Object expected) protected JsonMapAssert
containsValuesForProxy
(Object... values) @NotNull JsonMapAssert
doesNotContainValue
(@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 JsonMapAssert
isEqualToComparingFieldByField
(@Nullable Object other) Deprecated.@NotNull JsonMapAssert
isEqualToComparingFieldByFieldRecursively
(@Nullable Object other) Deprecated.@NotNull JsonMapAssert
isEqualToComparingOnlyGivenFields
(@Nullable Object other, @NotNull String... propertiesOrFieldsUsedInComparison) Deprecated.@NotNull JsonMapAssert
isEqualToIgnoringGivenFields
(@Nullable Object other, @NotNull String... propertiesOrFieldsToIgnore) Deprecated.@NotNull JsonMapAssert
isEqualToIgnoringNullFields
(@Nullable Object other) Deprecated.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, noneSatisfy, overridingErrorMessage, size, usingComparator, usingComparator, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withThreadDumpOnError
Methods inherited from class org.assertj.core.api.AbstractObjectAssert
doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasOnlyFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType
Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, descriptionText, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, hashCode, hasSameHashCodeAs, inBinary, inHexadecimal, isElementOfCustomAssert, isInstanceOfSatisfying, isNull, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, withFailMessage, withRepresentation
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
-
Method Details
-
isEqualTo
- Specified by:
isEqualTo
in interfaceorg.assertj.core.api.Assert<JsonMapAssert,
Map<String, Object>> - Overrides:
isEqualTo
in classorg.assertj.core.api.AbstractMapAssert<JsonMapAssert,
Map<String, Object>, String, Object>
-
containsValue
-
doesNotContainValue
-
isEqualToIgnoringGivenFields
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToIgnoringGivenFields(@Nullable @Nullable Object other, @NotNull @NotNull String... propertiesOrFieldsToIgnore) Deprecated.- Overrides:
isEqualToIgnoringGivenFields
in 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:
isEqualToComparingOnlyGivenFields
in classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,
Map<String, Object>>
-
isEqualToIgnoringNullFields
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToIgnoringNullFields(@Nullable @Nullable Object other) Deprecated.- Overrides:
isEqualToIgnoringNullFields
in classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,
Map<String, Object>>
-
isEqualToComparingFieldByField
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToComparingFieldByField(@Nullable @Nullable Object other) Deprecated.- Overrides:
isEqualToComparingFieldByField
in classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,
Map<String, Object>>
-
isEqualToComparingFieldByFieldRecursively
@NotNull @Deprecated public @NotNull JsonMapAssert isEqualToComparingFieldByFieldRecursively(@Nullable @Nullable Object other) Deprecated.- Overrides:
isEqualToComparingFieldByFieldRecursively
in 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:
hasFieldOrProperty
in 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:
hasFieldOrPropertyWithValue
in classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,
Map<String, Object>>
-
hasAllNullFieldsOrProperties
Deprecated.Does not work. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasAllNullFieldsOrProperties
in 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:
hasAllNullFieldsOrPropertiesExcept
in classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,
Map<String, Object>>
-
hasNoNullFieldsOrProperties
Deprecated.Does not work. https://github.com/lukas-krecan/JsonUnit/issues/324- Overrides:
hasNoNullFieldsOrProperties
in 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:
hasNoNullFieldsOrPropertiesExcept
in classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert,
Map<String, Object>>
-