@Test
public void testParseJira5x0User() throws Exception {

	final UserJsonParser parser = new UserJsonParser();
	final User user = parser.parse(ResourceUtil.getJsonObjectFromResource("/json/user/valid-5.0.json"));
	assertEquals(TestUtil.toUri("http://localhost:2990/jira/secure/useravatar?avatarId=10082"), user.getAvatarUri());
	assertEquals(TestUtil.toUri("http://localhost:2990/jira/secure/useravatar?size=small&avatarId=10082"), user.getSmallAvatarUri());
	assertEquals("wseliga", user.getName());
	assertEquals("Wojciech Seliga", user.getDisplayName());
	assertEquals("wseliga@atlassian.com", user.getEmailAddress());
	assertEquals(1, user.getGroups().getSize());
	assertNull(user.getGroups().getItems());
	assertEquals("Europe/Warsaw", user.getTimezone());
}