}
@Test
public void should_fail_if_actual_has_duplicates() {
byte[] actual = { (byte) 2, (byte) 4, (byte) 6, (byte) 8, (byte) 6, (byte) 8 };
ArrayWrapperList wrapped = ArrayWrapperList.wrap(actual);
Collection<Object> duplicates = duplicatesFrom(wrapped);
try {
arrays.assertDoesNotHaveDuplicates(description, actual);
} catch (AssertionError e) {
verify(failures).failure(description, shouldNotHaveDuplicates(actual, duplicates));