attributes.put("status", "-1");
response = responseBuilder.buildResponse(ExtensionStateResponse.class, attributes);
assertEquals("Response of wrong type", ExtensionStateResponse.class, response.getClass());
ExtensionStateResponse extensionStateResponse = (ExtensionStateResponse) response;
assertEquals("Exten not set correctly", "1", extensionStateResponse.getExten());
assertEquals("Context not set correctly", "default", extensionStateResponse.getContext());
assertEquals("Hint not set correctly", "", extensionStateResponse.getHint());
assertEquals("Status not set correctly", Integer.valueOf(-1), extensionStateResponse.getStatus());
}