Uses of Class
org.fest.assertions.api.ObjectArrayAssert
Packages that use ObjectArrayAssert
-
Uses of ObjectArrayAssert in org.fest.assertions.api
Methods in org.fest.assertions.api that return ObjectArrayAssertModifier and TypeMethodDescriptionVerifies that each element value satisfies the given conditionObjectArrayAssert.areAtLeast
(int times, Condition<? super T> condition) Verifies that there is at least n elements in the actual group satisfying the given condition.Verifies that there is at most n elements in the actual group satisfying the given condition.ObjectArrayAssert.areExactly
(int times, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group satisfying the given condition.Verifies that each element value not satisfies the given conditionObjectArrayAssert.areNotAtLeast
(int times, Condition<? super T> condition) Verifies that there is at least n elements in the actual group not satisfying the given condition.ObjectArrayAssert.areNotAtMost
(int times, Condition<? super T> condition) Verifies that there is at most n elements in the actual group not satisfying the given condition.ObjectArrayAssert.areNotExactly
(int times, Condition<? super T> condition) Verifies that there is exactly n elements in the actual group not satisfying the given condition.static <T> ObjectArrayAssert<T>
Assertions.assertThat
(T[] actual) Creates a new instance of
.ObjectArrayAssert
Verifies that the actual group contains the given values, in any order.Verifies that the actual group contains the given object at the given index.ObjectArrayAssert.containsAll
(Iterable<? extends T> iterable) Verifies that the actual group contains all the elements of givenIterable
, in any order.ObjectArrayAssert.containsExactly
(T... values) Verifies that the actual group contains only the given values and nothing else, in order.
This assertion should only be used with Iterable that have a consistent iteration order (i.e.ObjectArrayAssert.containsNull()
Verifies that the actual group contains at least a null element.ObjectArrayAssert.containsOnly
(T... values) Verifies that the actual group contains only the given values and nothing else, in any order.ObjectArrayAssert.containsSequence
(T... sequence) Verifies that the actual group contains the given sequence, without any other values between them.ObjectArrayAssert.doesNotContain
(T... values) Verifies that the actual group does not contain the given values.ObjectArrayAssert.doesNotContain
(T value, Index index) Verifies that the actual group does not contain the given object at the given index.ObjectArrayAssert.doesNotContainNull()
Verifies that the actual group does not contain null elements.ObjectArrayAssert.doesNotHaveDuplicates()
Verifies that the actual group does not contain duplicates.Verifies that each element value not satisfies the given conditionObjectArrayAssert.doNotHaveAtLeast
(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtLeast(int, Condition)
.ObjectArrayAssert.doNotHaveAtMost
(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotAtMost(int, Condition)
.ObjectArrayAssert.doNotHaveExactly
(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areNotExactly(int, Condition)
.Verifies that the actual group ends with the given sequence of objects, without any other objects between them.ObjectArrayAssert.hasSameSizeAs
(Iterable<?> other) Verifies that the actual group has the same size as givenIterable
.ObjectArrayAssert.hasSameSizeAs
(Object[] other) Verifies that the actual group has the same size as given array.ObjectArrayAssert.hasSize
(int expected) Verifies that the number of values in the actual group is equal to the given one.Verifies that each element value satisfies the given conditionObjectArrayAssert.haveAtLeast
(int times, Condition<? super T> condition) This method is an alias forObjectEnumerableAssert.areAtLeast(int, Condition)
.ObjectArrayAssert.haveAtMost
(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areAtMost(int, Condition)
.ObjectArrayAssert.haveExactly
(int times, Condition<? super T> condition) This method is an aliasObjectEnumerableAssert.areExactly(int, Condition)
.ObjectArrayAssert.isNotEmpty()
Verifies that the actual group of values is not empty.ObjectArrayAssert.isSorted()
Verifies that the actual array is sorted into ascending order according to the natural ordering of its elements.ObjectArrayAssert.isSortedAccordingTo
(Comparator<? super T> comparator) Verifies that the actual array is sorted according to the given comparator. Empty arrays are considered sorted whatever the comparator is. One element arrays are considered sorted if element is compatible with comparator, otherwise an AssertionError is thrown.ObjectArrayAssert.startsWith
(T... sequence) Verifies that the actual group starts with the given sequence of objects, without any other objects between them.ObjectArrayAssert.usingDefaultElementComparator()
ObjectArrayAssert.usingElementComparator
(Comparator<? super T> customComparator)