return comparisonStrategy.arrayContains(array, value);
}
void assertDoesNotHaveDuplicates(AssertionInfo info, Failures failures, Object array) {
assertNotNull(info, array);
ArrayWrapperList wrapped = wrap(array);
Iterable<?> duplicates = comparisonStrategy.duplicatesFrom(wrapped);
if (isNullOrEmpty(duplicates)) {
return;
}
throw failures.failure(info, shouldNotHaveDuplicates(array, duplicates, comparisonStrategy));