class GraphElementFactory implements VertexProvider<Node>, EdgeProvider<Node, Edge> {

    @Override
    public Node buildVertex(final String name, final Map<String, Attribute> nodeAttributes) {
        try {
            return createNode(name, extractLabels(nodeAttributes), convertAttributes(nodeAttributes));
        } catch (final NoSuchClassException e) {
            throw new JpaUnitException(e);
        }
    }

    public  GraphElementFactory(final List<Class<?>> entityClasses);

}