@Test
public void testIndexOf() {

    assertEquals(-1, create("one", "two").indexOf(o -> "hello".equals(o)));
    assertEquals(0, create("one", "two").indexOf(o -> "one".equals(o)));
    assertEquals(1, create("one", "two").indexOf(o -> "two".equals(o)));
}