}
@Test
public void testVertexEquality() {
NamedObject namedMarko = framedGraph.frame(graph.getVertex(1), NamedObject.class);
NamedObject namedVadas = framedGraph.frame(graph.getVertex(2), NamedObject.class);
assertTrue(marko.equals(marko));
assertFalse(marko.equals(vadas));
// The standard equals method will not consider different
// framed interfaces with the same underlying vertex as equal
assertEquals(marko.asVertex(), namedMarko.asVertex());