### Question:
DefaultTypes implements TypeResolver { @Override public Type getType(String name) { return typeMap.get(name); } DefaultTypes(); @Override Type getType(String name);  }### Answer:
@Test public void testGetType() { Type type = defaultTypes.getType(BooleanType.NAME); assertTrue(type instanceof BooleanType); }