    @Test
    public void testUpdate() throws URISyntaxException, IOException, MessageProcessingException, SLIClientException {

        Entity e = new GenericEntity(ResourceNames.STUDENTS, studentData);
        Response r = mock(Response.class);
        when(r.getStatus()).thenReturn(204);
        when(restClient.putRequest(any(URL.class), anyString())).thenReturn(r);
        underTest.update(e);
        verify(restClient).putRequest(new URL("http://baseURL/students/42"), mapper.writeValueAsString(studentData));
    }