@Test
    public final void testHasItemWithMethodObjectString() {
        @SuppressWarnings("rawtypes")
        final Matcher<Iterable> m = Matchers.hasItemWithMethod("nalle", "toLowerCase");
        assertFalse(m.matches(List.of(new Object[]{1, 'c', "blbl"})));
        assertTrue(m.matches(List.of(new Object[]{'c', "NALLE"})));
    }
Tests for com.yahoo.test.Matchers.

@author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
testutil/src/test/java/com/yahoo/test/MatchersTestCase.java