### Question:
AddAliasResponse extends AliasResponse { AddAliasResponse(HttpResponse response) { super(response); if (parsedResponse.containsKey("created")) { Map<String, String> created = (Map<String, String>) parsedResponse.get("created"); if (created != null) { cluster = created.get("topology"); alias = created.get("alias"); } } } AddAliasResponse(HttpResponse response); String getAlias();  }### Answer:
@Test public void testAddAliasResponse() { final String CLUSTER = "testValidCluster"; final String TEST_ALIAS = "alias1"; HttpResponse httpResponse = createTestResponse(createTestStatusLine(HttpStatus.SC_CREATED), CLUSTER, Collections.singletonList(TEST_ALIAS)); AddAliasResponse response = null; try { response = createResponse(httpResponse); } catch (Exception e) { fail(e.getMessage()); } assertEquals(CLUSTER, response.getCluster()); assertEquals(TEST_ALIAS, response.getAlias()); }