@Test public void testResolve_BulkCommandsDefinition(){ BulkCommandDefinition bulkCommandsDefinition = new BulkCommandDefinition(); ComponentInfo info = new ComponentInfo(); ComponentInfo parentInfo = new ComponentInfo(); parentInfo.setBulkCommands(bulkCommandsDefinition); assertSame(bulkCommandsDefinition, resolveComponent(info, parentInfo).getModuleInfo().getBulkCommandDefinition()); info.setBulkCommands(bulkCommandsDefinition); parentInfo.setBulkCommands(null); assertSame(bulkCommandsDefinition, resolveComponent(info, parentInfo).getModuleInfo().getBulkCommandDefinition()); BulkCommandDefinition bulkCommandsDefinition2 = createNiceMock(BulkCommandDefinition.class); info.setBulkCommands(bulkCommandsDefinition); parentInfo.setBulkCommands(bulkCommandsDefinition2); assertSame(bulkCommandsDefinition, resolveComponent(info, parentInfo).getModuleInfo().getBulkCommandDefinition()); }
@Override public ComponentInfo getModuleInfo() { return componentInfo; }
ComponentModule extends BaseModule<ComponentModule, ComponentInfo> implements Validable { @Override public ComponentInfo getModuleInfo() { return componentInfo; } }
ComponentModule extends BaseModule<ComponentModule, ComponentInfo> implements Validable { @Override public ComponentInfo getModuleInfo() { return componentInfo; } ComponentModule(ComponentInfo componentInfo); }
ComponentModule extends BaseModule<ComponentModule, ComponentInfo> implements Validable { @Override public ComponentInfo getModuleInfo() { return componentInfo; } 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(); }
ComponentModule extends BaseModule<ComponentModule, ComponentInfo> implements Validable { @Override public ComponentInfo getModuleInfo() { return componentInfo; } 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();  }