@Test public void testTyped_ofType_false() {

  StringCondition condition = Mockito.mock(StringCondition.class);
  when(condition.test("hi")).thenReturn(false);
  assertThat(Utils.typed(String.class, condition::test).test("hi")).isFalse();
  verify(condition).test("hi");
}