code: 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()));
      }
    }
docs: Verifies that the <em>actual</em> object is an instance of any of the given types.
  
  @param description the description of the <em>actual</em> object.
  @param actual the <em>actual</em> object.
  @param types the types to check the <em>actual</em> object against.
  @throws NullPointerException if the given array is {@code null}.
  @throws IllegalArgumentException if the given array is empty.
  @throws NullPointerException if the given array has {@code null} elements.
  @throws AssertionError if the <em>actual</em> object is {@code null}.
  @throws AssertionError if the <em>actual</em> object is not an instance of any of the given types.