Class JsonListAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
org.assertj.core.api.AbstractIterableAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>
org.assertj.core.api.AbstractCollectionAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>
org.assertj.core.api.AbstractListAssert<SELF,ACTUAL,ELEMENT,ELEMENT_ASSERT>
org.assertj.core.api.FactoryBasedNavigableListAssert<JsonListAssert,List<?>,Object,JsonAssert>
net.javacrumbs.jsonunit.assertj.JsonListAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<JsonListAssert,List<?>>, org.assertj.core.api.Descriptable<JsonListAssert>, org.assertj.core.api.EnumerableAssert<JsonListAssert,Object>, org.assertj.core.api.ExtensionPoints<JsonListAssert,List<?>>, org.assertj.core.api.IndexedObjectEnumerableAssert<JsonListAssert,Object>, org.assertj.core.api.ObjectEnumerableAssert<JsonListAssert,Object>

public class JsonListAssert extends org.assertj.core.api.FactoryBasedNavigableListAssert<JsonListAssert,List<?>,Object,JsonAssert>
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractIterableAssert

    iterables

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>>
    ASSERT
    asInstanceOf(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> instanceOfAssertFactory)
     
    <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>>
    ASSERT
    element(int index, org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
    Deprecated.
    InstanceOfAssertFactory is not supported with JsonUnit
    <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>>
    ASSERT
    first(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
    Deprecated.
    InstanceOfAssertFactory is not supported with JsonUnit
    isEqualTo(@Nullable Object expected)
     
    isNotEqualTo(@Nullable Object other)
     
    <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>>
    ASSERT
    last(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
    Deprecated.
    InstanceOfAssertFactory is not supported with JsonUnit
    protected JsonListAssert
     
    <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>>
    ASSERT
    singleElement(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
    Deprecated.
    InstanceOfAssertFactory is not supported with JsonUnit

    Methods inherited from class org.assertj.core.api.FactoryBasedNavigableListAssert

    assertThat, toAssert

    Methods inherited from class org.assertj.core.api.AbstractListAssert

    as, as, contains, describedAs, describedAs, doesNotContain, doesNotHave, doesNotHaveSameClassAs, has, has, hasSameClassAs, hasToString, is, is, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isOfAnyClassIn, isSameAs, isSorted, isSortedAccordingTo, overridingErrorMessage, satisfies, usingComparator, usingComparator, usingComparisonStrategy, usingDefaultComparator, usingDefaultElementComparator, usingElementComparator, withFailMessage, withThreadDumpOnError

    Methods inherited from class org.assertj.core.api.AbstractCollectionAssert

    isUnmodifiable

    Methods inherited from class org.assertj.core.api.AbstractIterableAssert

    allMatch, allMatch, allSatisfy, allSatisfy, anyMatch, anySatisfy, anySatisfy, are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsAnyElementsOf, containsAnyOf, containsAnyOfForProxy, containsExactly, containsExactlyElementsOf, containsExactlyForProxy, containsExactlyInAnyOrder, containsExactlyInAnyOrderElementsOf, containsExactlyInAnyOrderForProxy, containsForProxy, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyForProxy, containsOnlyNulls, containsOnlyOnce, containsOnlyOnceElementsOf, containsOnlyOnceForProxy, containsSequence, containsSequence, containsSequenceForProxy, containsSubsequence, containsSubsequence, containsSubsequenceForProxy, doesNotContain, doesNotContainAnyElementsOf, doesNotContainForProxy, doesNotContainNull, doesNotContainSequence, doesNotContainSequence, doesNotContainSequenceForProxy, doesNotContainSubsequence, doesNotContainSubsequence, doesNotContainSubsequenceForProxy, doesNotHaveAnyElementsOfTypes, doesNotHaveDuplicates, doNotHave, element, elements, endsWith, endsWith, endsWithForProxy, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, extractingResultOf, extractingResultOf, filteredOn, filteredOn, filteredOn, filteredOn, filteredOn, filteredOnAssertions, filteredOnAssertions, filteredOnNull, first, flatExtracting, flatExtracting, flatExtracting, flatExtracting, flatExtracting, flatExtracting, flatExtractingForProxy, flatMap, flatMap, flatMap, flatMap, getComparatorsByType, getComparatorsForElementPropertyOrFieldTypes, hasAtLeastOneElementOfType, hasExactlyElementsOfTypes, hasOnlyElementsOfType, hasOnlyElementsOfTypes, hasOnlyOneElementSatisfying, hasSameElementsAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, inBinary, inHexadecimal, isEmpty, isNotEmpty, isNullOrEmpty, isSubsetOf, isSubsetOf, isSubsetOfForProxy, last, map, map, map, navigationDescription, newAbstractIterableAssertForProxy, noneMatch, noneSatisfy, noneSatisfy, satisfiesExactly, satisfiesExactly, satisfiesExactlyForProxy, satisfiesExactlyInAnyOrder, satisfiesExactlyInAnyOrder, satisfiesExactlyInAnyOrderForProxy, satisfiesOnlyOnce, satisfiesOnlyOnce, satisfiesOnlyOnceForProxy, singleElement, size, startsWith, startsWithForProxy, usingComparatorForElementFieldsWithNames, usingComparatorForElementFieldsWithType, usingComparatorForType, usingElementComparatorIgnoringFields, usingElementComparatorOnFields, usingFieldByFieldElementComparator, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, usingRecursiveFieldByFieldElementComparator, usingRecursiveFieldByFieldElementComparator, usingRecursiveFieldByFieldElementComparatorIgnoringFields, usingRecursiveFieldByFieldElementComparatorOnFields, zipSatisfy

    Methods inherited from class org.assertj.core.api.AbstractAssert

    areEqual, asList, assertionError, asString, descriptionText, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, hashCode, hasSameHashCodeAs, 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

    Methods inherited from interface org.assertj.core.api.EnumerableAssert

    hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, isEmpty, isNotEmpty, isNullOrEmpty

    Methods inherited from interface org.assertj.core.api.ObjectEnumerableAssert

    allMatch, allMatch, allSatisfy, allSatisfy, anyMatch, anySatisfy, anySatisfy, are, areAtLeast, areAtLeastOne, areAtMost, areExactly, areNot, contains, containsAll, containsAnyElementsOf, containsAnyOf, containsExactly, containsExactlyElementsOf, containsExactlyInAnyOrder, containsExactlyInAnyOrderElementsOf, containsNull, containsOnly, containsOnlyElementsOf, containsOnlyNulls, containsOnlyOnce, containsOnlyOnceElementsOf, containsSequence, containsSequence, containsSubsequence, containsSubsequence, doesNotContain, doesNotContainAnyElementsOf, doesNotContainNull, doesNotContainSequence, doesNotContainSequence, doesNotContainSubsequence, doesNotContainSubsequence, doesNotHaveAnyElementsOfTypes, doesNotHaveDuplicates, doNotHave, endsWith, endsWith, hasAtLeastOneElementOfType, hasExactlyElementsOfTypes, hasOnlyElementsOfType, hasOnlyElementsOfTypes, hasOnlyOneElementSatisfying, hasSameElementsAs, have, haveAtLeast, haveAtLeastOne, haveAtMost, haveExactly, isSubsetOf, isSubsetOf, noneMatch, noneSatisfy, noneSatisfy, satisfiesExactly, satisfiesExactly, satisfiesExactlyInAnyOrder, satisfiesExactlyInAnyOrder, satisfiesOnlyOnce, satisfiesOnlyOnce, startsWith
  • Method Details

    • isEqualTo

      @NotNull public @NotNull JsonListAssert isEqualTo(@Nullable @Nullable Object expected)
      Specified by:
      isEqualTo in interface org.assertj.core.api.Assert<JsonListAssert,List<?>>
      Overrides:
      isEqualTo in class org.assertj.core.api.AbstractListAssert<JsonListAssert,List<?>,Object,JsonAssert>
    • isNotEqualTo

      @NotNull public @NotNull JsonListAssert isNotEqualTo(@Nullable @Nullable Object other)
      Specified by:
      isNotEqualTo in interface org.assertj.core.api.Assert<JsonListAssert,List<?>>
      Overrides:
      isNotEqualTo in class org.assertj.core.api.AbstractListAssert<JsonListAssert,List<?>,Object,JsonAssert>
    • newAbstractIterableAssert

      protected JsonListAssert newAbstractIterableAssert(Iterable<?> iterable)
      Overrides:
      newAbstractIterableAssert in class org.assertj.core.api.FactoryBasedNavigableListAssert<JsonListAssert,List<?>,Object,JsonAssert>
    • element

      @Deprecated public <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>> ASSERT element(int index, org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
      Deprecated.
      InstanceOfAssertFactory is not supported with JsonUnit
      Overrides:
      element in class org.assertj.core.api.AbstractIterableAssert<JsonListAssert,List<?>,Object,JsonAssert>
    • singleElement

      @Deprecated public <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>> ASSERT singleElement(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
      Deprecated.
      InstanceOfAssertFactory is not supported with JsonUnit
      Overrides:
      singleElement in class org.assertj.core.api.AbstractIterableAssert<JsonListAssert,List<?>,Object,JsonAssert>
    • asInstanceOf

      public <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>> ASSERT asInstanceOf(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> instanceOfAssertFactory)
      Specified by:
      asInstanceOf in interface org.assertj.core.api.Assert<JsonListAssert,List<?>>
      Overrides:
      asInstanceOf in class org.assertj.core.api.AbstractAssert<JsonListAssert,List<?>>
    • first

      @Deprecated public <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>> ASSERT first(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
      Deprecated.
      InstanceOfAssertFactory is not supported with JsonUnit
      Overrides:
      first in class org.assertj.core.api.AbstractIterableAssert<JsonListAssert,List<?>,Object,JsonAssert>
    • last

      @Deprecated public <ASSERT extends org.assertj.core.api.AbstractAssert<?, ?>> ASSERT last(org.assertj.core.api.InstanceOfAssertFactory<?,ASSERT> assertFactory)
      Deprecated.
      InstanceOfAssertFactory is not supported with JsonUnit
      Overrides:
      last in class org.assertj.core.api.AbstractIterableAssert<JsonListAssert,List<?>,Object,JsonAssert>