### Question:
RdapUpdateClient extends RdapClient { public UpdateResponse deleteIp(String handle) throws RdapClientException { IpDto dto = new IpDto(); dto.setHandle(handle); return execute(dto, HttpMethodType.DELETE); } RdapUpdateClient(RdapClientConfig config); UpdateResponse create(BaseDto dto); UpdateResponse update(BaseDto dto); UpdateResponse deleteIp(String handle); UpdateResponse deleteDomain(String handle); UpdateResponse deleteEntity(String handle); UpdateResponse deleteNameserver(String handle); UpdateResponse deleteAutnum(String handle);  }### Answer:
@Test public void test_delete_ip() { UpdateResponse response; try { setContent200("ip"); response = client.deleteIp("ip-1"); } catch (RdapClientException e) { response = null; } assertEquals(mockHttpServer.getRequestUrl(), "/u/ip/ip-1"); assertEquals(response.getHandle(), "ip-1"); assertEquals(response.getErrorCode(), 0); assertEquals(response.getSubErrorCode(), 0); assertEquals(response.getDescription().size(), 0); }
@Test public void test_delete_failToDelete_ip() { UpdateResponse response; try { setContent404("ip"); response = client.deleteIp("ip-1"); } catch (RdapClientException e) { response = null; } assertEquals(response.getHandle(), "ip-1"); assertEquals(response.getErrorCode(), 404); assertEquals(response.getSubErrorCode(), 4041); assertEquals(response.getDescription().get(0), "Object not found"); }