long[] sequence = { 1l, 2l, 3l, 4l, 5l, 6l, 7l };
try {
arrays.assertContainsSequence(description, actual, sequence);
} catch (AssertionError e) {
String format = "The size of sequence is greater than the size of array";
verify(failures).failure(description, new BasicErrorMessageFactory(format, actual, sequence));
return;
}
throw expectedAssertionErrorNotThrown();
}