@Test
public void testParseAnonymous() throws JSONException {

	final CommentJsonParser parser = new CommentJsonParser();
	final JSONObject json = ResourceUtil.getJsonObjectFromResource("/json/comment/valid-anonymous.json");
	final JSONObject commentJson = json.getJSONArray("value").getJSONObject(0);
	final Comment comment = parser.parse(commentJson);
	assertNull(comment.getAuthor());
	assertNull(comment.getUpdateAuthor());
	assertEquals("Comment from anonymous user", comment.getBody());
}