public void assertIsInstanceOfAny(Description description, Object actual, Class<?>[] types) {
checkNotNullOrEmpty(types);
assertNotNull(description, actual);
if (!isInstanceOfAny(actual, types)) {
String format = "expecting <%s> to be an instance of any of:<%s> but was instance of:<%s>";
throw failures.failure(description, new BasicErrorMessageFactory(format, actual, types, actual.getClass()));
}
}