@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);
}