test_class.declarator: dispatcher
test_class.modifier: @Autowired
  	private
test_class.original_string: @Autowired
  	private CommandDispatcher dispatcher;
test_class.type: CommandDispatcher
test_class.var_name: dispatcher
test_class.file: command/src/test/java/org/geomajas/command/general/CopyrightCommandTest.java
test_class.identifier: CopyrightCommandTest
test_case.body: @Test
  	public void testCopyright() throws Exception {
  		CopyrightRequest request = new CopyrightRequest();
  		CopyrightResponse response = (CopyrightResponse) dispatcher.execute(
  				CopyrightRequest.COMMAND, request, null, "en");
  		if (response.isError()) {
  			response.getErrors().get(0).printStackTrace();
  		}
  		Assert.assertFalse(response.isError());
  		List<CopyrightInfo> copyrights = response.getCopyrights();
  		Assert.assertNotNull(copyrights);
  		Assert.assertTrue(copyrights.size() > 12); // this number is somewhat arbitrary
  		contains("Geomajas", copyrights);
  		contains("JTS", copyrights);
  		contains("Spring Framework", copyrights);
  		contains("Apache commons", copyrights);
  		contains("slf4j", copyrights);
  		contains("javax.annotation", copyrights);
  		contains("javax.validation", copyrights);
  		contains("GeoTools", copyrights);
  	}
test_case.class_method_signature: CopyrightCommandTest.testCopyright()
test_case.full_signature: @Test public void testCopyright()
test_case.identifier: testCopyright
test_case.invocations: execute isError printStackTrace get getErrors assertFalse isError getCopyrights assertNotNull assertTrue size contains contains contains contains contains contains contains contains
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testCopyright()
focal_class.declarator: log = LoggerFactory.getLogger(CopyrightCommand.class)
focal_class.modifier: private final
focal_class.original_string: private final Logger log = LoggerFactory.getLogger(CopyrightCommand.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: copyrightMap = new HashMap<String, CopyrightInfo>()
focal_class.modifier: private
focal_class.original_string: private Map<String, CopyrightInfo> copyrightMap = new HashMap<String, CopyrightInfo>();
focal_class.type: Map<String, CopyrightInfo>
focal_class.var_name: copyrightMap
focal_class.declarator: declaredPlugins
focal_class.modifier: @Autowired(required = false)
  	protected
focal_class.original_string: @Autowired(required = false)
  	protected Map<String, PluginInfo> declaredPlugins;
focal_class.type: Map<String, PluginInfo>
focal_class.var_name: declaredPlugins
focal_class.file: command/src/main/java/org/geomajas/command/general/CopyrightCommand.java
focal_class.identifier: CopyrightCommand
focal_class.interfaces: implements CommandHasRequest<EmptyCommandRequest, CopyrightResponse>
focal_class.class_method_signature: CopyrightCommand.buildCopyrightMap()
focal_class.full_signature: @PostConstruct protected void buildCopyrightMap()
focal_class.identifier: buildCopyrightMap
focal_class.modifiers: @PostConstruct protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void buildCopyrightMap()
focal_class.class_method_signature: CopyrightCommand.getEmptyCommandRequest()
focal_class.full_signature: @Override public EmptyCommandRequest getEmptyCommandRequest()
focal_class.identifier: getEmptyCommandRequest
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: EmptyCommandRequest
focal_class.signature: EmptyCommandRequest getEmptyCommandRequest()
focal_class.class_method_signature: CopyrightCommand.getEmptyCommandResponse()
focal_class.full_signature: @Override public CopyrightResponse getEmptyCommandResponse()
focal_class.identifier: getEmptyCommandResponse
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: CopyrightResponse
focal_class.signature: CopyrightResponse getEmptyCommandResponse()
focal_class.class_method_signature: CopyrightCommand.execute(EmptyCommandRequest request, CopyrightResponse response)
focal_class.full_signature: @Override public void execute(EmptyCommandRequest request, CopyrightResponse response)
focal_class.identifier: execute
focal_class.modifiers: @Override public
focal_class.parameters: (EmptyCommandRequest request, CopyrightResponse response)
focal_class.return: void
focal_class.signature: void execute(EmptyCommandRequest request, CopyrightResponse response)
focal_method.body: @Override
  	public void execute(EmptyCommandRequest request, CopyrightResponse response) throws Exception {
  		response.setCopyrights(new ArrayList<CopyrightInfo>(copyrightMap.values()));
  	}
focal_method.class_method_signature: CopyrightCommand.execute(EmptyCommandRequest request, CopyrightResponse response)
focal_method.full_signature: @Override public void execute(EmptyCommandRequest request, CopyrightResponse response)
focal_method.identifier: execute
focal_method.invocations: setCopyrights values
focal_method.modifiers: @Override public
focal_method.parameters: (EmptyCommandRequest request, CopyrightResponse response)
focal_method.return: void
focal_method.signature: void execute(EmptyCommandRequest request, CopyrightResponse response)