public void testFetchWrongObject() {
GetClientUserDataRequest request = new GetClientUserDataRequest();
request.setIdentifier(DISALLOWED_BEAN_ID);
request.setClassName("org.geomajas.configuration.RasterLayerInfo");
GetClientUserDataResponse response = (GetClientUserDataResponse) dispatcher.execute(
GetClientUserDataRequest.COMMAND, request, null, "en");
if (response.isError()) {
response.getErrors().get(0).printStackTrace();
}
Assert.assertTrue(response.isError());
Assert.assertNull(response.getInformation());
}