int[] sequence = { 1, 2, 3, 4, 5, 6, 7 };
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();
}