Exemplo n.º 1
0
 /**
  * Verifies that the given array ends with the given sequence of values, without any other values
  * between them. Similar to <code>{@link #assertContainsSequence(AssertionInfo, byte[], byte[])}
  * </code>, but it also verifies that the last element in the sequence is also the last element of
  * the given array.
  *
  * @param info contains information about the assertion.
  * @param actual the given array.
  * @param sequence the sequence of values to look for.
  * @throws NullPointerException if the given argument is {@code null}.
  * @throws IllegalArgumentException if the given argument is an empty array.
  * @throws AssertionError if the given array is {@code null}.
  * @throws AssertionError if the given array does not end with the given sequence of values.
  */
 public void assertEndsWith(AssertionInfo info, byte[] actual, byte[] sequence) {
   arrays.assertEndsWith(info, failures, actual, sequence);
 }