src/main/java/org/fest/assertions/ObjectArrayAssert.java
public @NotNull ObjectArrayAssert hasAtLeastOneElementOfType(@NotNull Class<?> type) {
    checkNotNull(type);
    isNotNull();
    boolean found = false;
    for (Object o : actual) {
      if (!type.isInstance(o)) {
        continue;
      }
      found = true;
      break;
    }
    if (found) {
      return this;
    }
    failIfCustomMessageIsSet();
    throw failure(format("array:<%s> does not have any elements of type:<%s>", actual, type));
  }
public @NotNull ObjectArrayAssert hasAtLeastOneElementOfType(@NotNull Class<?> type) {
    checkNotNull(type);
    isNotNull();
    boolean found = false;
    for (Object o : actual) {
      if (!type.isInstance(o)) {
        continue;
      }
      found = true;
      break;
    }
    if (found) {
      return this;
    }
    failIfCustomMessageIsSet();
    throw failure(format("array:<%s> does not have any elements of type:<%s>", actual, type));
  }
Verifies that at least one element in the actual {@code Object} array belong to the specified type. Matching
includes subclasses of the given type.

@param type the expected type.
@return this assertion object.
@throws AssertionError if the actual {@code Object} does not have any elements of the given type.