### Question:
BuiltInTypeUtils { public static Optional<BuiltInType> findBuiltInTypeByName(final String name) { return getBuiltInTypeValuesStream() .filter(builtInType -> Arrays.asList(builtInType.getNames()).contains(name)) .findAny(); }  static boolean isBuiltInType(final String type); static Optional<BuiltInType> findBuiltInTypeByName(final String name);  }### Answer:
@Test public void testFindBuiltInTypeByNameWhenItFinds() { assertTrue(BuiltInTypeUtils.findBuiltInTypeByName("boolean").isPresent()); assertEquals(BOOLEAN, BuiltInTypeUtils.findBuiltInTypeByName("boolean").get()); }
@Test public void testFindBuiltInTypeByNameWhenItDoesNotFind() { assertFalse(BuiltInTypeUtils.findBuiltInTypeByName("something").isPresent()); }