assertEquals(marko.getName(), "pavel");
assertEquals(marko.getAge(), new Integer(29));
marko.setAge(31);
assertEquals(marko.getAge(), new Integer(31));
CreatedInfo markoCreatedLopInfo = framedGraph.getEdge(9, CreatedInfo.class);
assertEquals(markoCreatedLopInfo.getWeight(), 0.4f, 0.1f);
markoCreatedLopInfo.setWeight(99.0f);
assertEquals(markoCreatedLopInfo.getWeight(), 99.0f, 0.1f);
markoCreatedLopInfo.setWeight(0.4f);
//Same with deprecated Domain/Range annotations:
Created markoCreatedLop = framedGraph.getEdge(9, Direction.OUT, Created.class);
assertEquals(markoCreatedLop.getWeight(), 0.4f, 0.1f);
markoCreatedLop.setWeight(99.0f);