Class JsonMapAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<JsonMapAssert, Map<String,Object>>
- 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, @Nullable 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) containsValue(@Nullable Object expected) protected JsonMapAssertcontainsValuesForProxy(Object[] values) doesNotContainValue(@Nullable Object expected) Deprecated.hasAllNullFieldsOrPropertiesExcept(String... propertiesOrFieldsToIgnore) Deprecated.hasFieldOrProperty(String name) Deprecated.hasFieldOrPropertyWithValue(String name, Object value) Deprecated.Deprecated.hasNoNullFieldsOrPropertiesExcept(String... propertiesOrFieldsToIgnore) Deprecated.isEqualToComparingFieldByField(@Nullable Object other) Deprecated.isEqualToComparingFieldByFieldRecursively(@Nullable Object other) Deprecated.isEqualToComparingOnlyGivenFields(@Nullable Object other, String... propertiesOrFieldsUsedInComparison) Deprecated.isEqualToIgnoringGivenFields(@Nullable Object other, String... propertiesOrFieldsToIgnore) Deprecated.isEqualToIgnoringNullFields(@Nullable Object other) Deprecated.Moves 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
actual, areEqual, asInstanceOf, asList, assertionError, asString, descriptionText, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, 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, usingEquals, usingEquals, withFailMessage, withRepresentationMethods inherited from class 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, @Nullable Object>
-
node
Moves comparison to given node. Second call navigates from the last position in the JSON. -
containsValue
-
doesNotContainValue
-
isEqualToIgnoringGivenFields
@Deprecated public JsonMapAssert isEqualToIgnoringGivenFields(@Nullable Object other, String... propertiesOrFieldsToIgnore) Deprecated.- Overrides:
isEqualToIgnoringGivenFieldsin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert, Map<String,Object>>
-
isEqualToComparingOnlyGivenFields
@Deprecated public JsonMapAssert isEqualToComparingOnlyGivenFields(@Nullable Object other, String... propertiesOrFieldsUsedInComparison) Deprecated.- Overrides:
isEqualToComparingOnlyGivenFieldsin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert, Map<String,Object>>
-
isEqualToIgnoringNullFields
Deprecated.- Overrides:
isEqualToIgnoringNullFieldsin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert, Map<String,Object>>
-
isEqualToComparingFieldByField
Deprecated.- Overrides:
isEqualToComparingFieldByFieldin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert, Map<String,Object>>
-
isEqualToComparingFieldByFieldRecursively
Deprecated.- Overrides:
isEqualToComparingFieldByFieldRecursivelyin classorg.assertj.core.api.AbstractObjectAssert<JsonMapAssert, Map<String,Object>>
-
containsEntry
-
containsAnyOfForProxy
-
containsAllEntriesOf
-
containsExactlyForProxy
@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
-
containsForProxy
-
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. UseAbstractMapAssert.contains(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>>
-