    @Test
    public void testUpdate() throws Exception {

        server.expect(requestTo("/1")).andExpect(method(PUT))
                .andRespond(withStatus(HttpStatus.OK));

        Spanner update = aSpanner().withId(1L).build();
        service.update(update);

        // Check that the server received the message
        server.verify();
    }