@Test public void updateAnExistingComment() { theComment.newText("a new text"); CommentEntity entity = putAt(aResourceURI(), theComment); assertThat(entity, equalTo(theComment)); assertThat(entity.getText(), equalTo(theComment.getText())); }