Collection<String> other = newArrayList("Solo", "Luke", "Leia");
try {
iterablesWithCaseInsensitiveComparisonStrategy.assertHasSameSizeAs(info, actual, other);
} catch (AssertionError e) {
assertThat(e).hasMessage(shouldHaveSameSizeAs(actual, actual.size(), other.size())
.create(null, info.representation()));
return;
}
failBecauseExpectedAssertionErrorWasNotThrown();
}
}