@Test
public void computeBoundNoUpstreamBound() {
SinkEntityInspector inspector = new SinkEntityInspector();
BoundComputer bc = new BoundComputer("NewBound");
bc.setSink(inspector);
bc.process(new NodeContainer(new Node(new CommonEntityData(1, 1, new Date(), OsmUser.NONE, 1), 1, 1)));
bc.process(new NodeContainer(new Node(new CommonEntityData(2, 2, new Date(), OsmUser.NONE, 1), 2, 2)));
bc.complete();
bc.release();
EntityContainer ec = inspector.getProcessedEntities().iterator().next();
Assert.assertEquals(new Bound(2, 1, 2, 1, "NewBound"), ec.getEntity());