### Question:
EnumTypeFactory implements ExtendedTypeFactory { @SuppressWarnings("unchecked") public ExtendedType getType(Class<?> objectClass) { if (ExtendedEnumeration.class.isAssignableFrom(objectClass)) { return new ExtendedEnumType(objectClass); } else if (objectClass.isEnum()) { return new EnumType(objectClass); } else { return null; } }  @SuppressWarnings("unchecked") ExtendedType getType(Class<?> objectClass);  }### Answer:
@Test public void testSupportsEnums() { EnumTypeFactory map = new EnumTypeFactory(); assertNotNull(map.getType(MockEnum.class)); }