public void comparePlace(Object object) { assertNotNull("The node should not be null", object); assertTrue("The node should be of type PlaceData", object instanceof PlaceData); PlaceData node = (PlaceData)object; assertEquals("4", node.getId()); assertEquals(data.source, node.getUri().getSource()); assertNull(node.getLocale()); assertEquals("A Place", node.getName()); assertEquals(NodeType.PLACE, node.getNodeType()); assertNull(node.getLocation()); compareCoordinates(node.getCoordinates()); assertNotNull(node.getFeatures()); assertEquals(0, node.getFeatures().size()); assertNotNull(node.getFields()); assertEquals(0, node.getFields().size()); assertNotNull(node.getNodes()); assertEquals(0, node.getNodes().size()); assertEquals(data.start1, node.getCreated()); assertEquals(data.end1, node.getModified()); assertEquals(new Integer(2), node.getVersion()); }