@Test
public void testFromJson() {

	try {
		User user = new User();
		user.fromJson(this.json);
		assertEquals("orange_julius", user.getUsername());
		assertTrue(user.getAttributes().containsKey("email"));
		assertEquals("Orange Julius", user.getAttributes().get("name"));
	} catch (IOException e) {
		fail(e.toString());
	} catch (URISyntaxException e) {
		fail(e.toString());
	} catch (Exception e) {
		fail(e.toString());
	}
}