### Question:
NoDoubleClassDefined { public static boolean isDoubleClassDefinitionMissing(Class<?> aClass) { return aClass == null || NoDoubleClassDefined.class.equals(aClass); }  static boolean isDoubleClassDefinitionMissing(Class<?> aClass);  }### Answer:
@Test public void should_detect_missing_class_definition() { assertTrue(isDoubleClassDefinitionMissing(null)); assertTrue(isDoubleClassDefinitionMissing(NoDoubleClassDefined.class)); }
@Test public void should_detect_existing_class_definition() { assertFalse(isDoubleClassDefinitionMissing(Object.class)); }