public @NotNull ListAssert containsExactly(@NotNull Object... objects) {
    checkNotNull(objects);
    return isNotNull().isEqualTo(newArrayList(objects));
  }
public @NotNull ListAssert containsExactly(@NotNull Object... objects) {
    checkNotNull(objects);
    return isNotNull().isEqualTo(newArrayList(objects));
  }
public @ NotNull ListAssert containsExactly ( @ NotNull Object ... objects ) { checkNotNull ( objects ) ; return isNotNull ( ) . isEqualTo ( newArrayList ( objects ) ) ; }
Verifies that the actual {@code List} contains the given objects, in the same order. This method works just like
{@code isEqualTo(List)}, with the difference that internally the given array is converted to a {@code List}.

@param objects the objects to look for.
@return this assertion object.
@throws AssertionError       if the actual {@code List} is {@code null}.
@throws NullPointerException if the given array is {@code null}.
@throws AssertionError       if the actual {@code List} does not contain the given objects.
Verifies that the actual { @code List } contains the given objects in the same order . This method works just like { @code isEqualTo ( List ) } with the difference that internally the given array is converted to a { @code List } .