@DELETE
    @Path("{id}")
    public Response removePort(@PathParam("id") String id) {
        log.trace(String.format(MESSAGE, "DELETE " + id));

        adminService.removePort(id);
        return Response.noContent().build();
    }
@Test
    public void testDeletePortWithDeletionOperation() {
        mockAdminService.removePort(anyString());
        replay(mockAdminService);

        String location = PATH + "/port-1";

        final WebTarget wt = target();
        Response response = wt.path(location).request(
                MediaType.APPLICATION_JSON_TYPE).delete();

        final int status = response.getStatus();

        assertThat(status, is(204));

        verify(mockAdminService);
    }