@Test
public void testFromJson() {

	try {
		Asset asset = new Asset();
		asset.fromJson(this.json);
		//assertEquals("51fbcd3b24acc67a7aeaf1a2", asset.getId());
		assertEquals("TJI Joists", asset.getName());
		assertTrue(asset.getTags().contains("Flooring"));
		assertTrue(asset.getTags().contains("Featured"));
		assertTrue(asset.getPhotos().contains(new URI("http://inventory.lifecyclebuildingcenter.org/img/tji_joists_md.jpg")));
		assertTrue(asset.getAttributes().containsKey("Quantity"));
		assertEquals("Excellent", asset.getAttributes().get("Condition"));
	} catch (IOException e) {
		fail(e.toString());
	} catch (URISyntaxException e) {
		fail(e.toString());
	}
}