ComponentModule extends BaseModule<ComponentModule, ComponentInfo> implements Validable { @Override public boolean isDeleted() { return componentInfo.isDeleted(); } ComponentModule(ComponentInfo componentInfo); @Override void resolve(ComponentModule parent, Map<String, StackModule> allStacks,
	    Map<String, ServiceModule> commonServices, Map<String, ExtensionModule> extensions); @Override ComponentInfo getModuleInfo(); @Override boolean isDeleted(); @Override String getId(); @Override boolean isValid(); @Override void setValid(boolean valid); @Override void addError(String error); @Override Collection<String> getErrors(); @Override void addErrors(Collection<String> errors); @Override String toString();  }
@Test public void testIsDeleted() { ComponentInfo info = new ComponentInfo(); info.setName("foo"); ComponentModule component = new ComponentModule(info); assertFalse(component.isDeleted()); info = new ComponentInfo(); info.setName("foo"); info.setDeleted(true); component = new ComponentModule(info); assertTrue(component.isDeleted()); }