final View view2 = new View.Builder()
.entity(TestGroups.ENTITY)
.entity(TestGroups.ENTITY_2)
.edge(TestGroups.EDGE)
.edge(TestGroups.EDGE_2)
<BUG>.build();
view1.merge(view2);
assertEquals(2, view1.getEntities().size());

assertEquals(2, view1.getEdges().size());
</BUG>
}

final View view2 = new View.Builder()
.entity(TestGroups.ENTITY)
.entity(TestGroups.ENTITY_2)
.edge(TestGroups.EDGE)
.edge(TestGroups.EDGE_2)
.build();
final View mergedView = new View.Builder()
.merge(view1)
.merge(view2)
.build();
assertEquals(2, mergedView.getEntities().size());
assertEquals(2, mergedView.getEdges().size());
