All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.umlg.meta.TestMetaClasses Maven / Gradle / Ivy

The newest version!
package org.umlg.meta;

import org.umlg.runtime.test.BaseLocalDbTest;

/**
 * Date: 2012/12/27
 * Time: 8:50 AM
 */
public class TestMetaClasses extends BaseLocalDbTest {

//    @Test
//    public void testMetaPersistence() {
//        God g = new God(true);
//        g.setName("g");
//        Angel a = new Angel(g);
//        db.commit();
//        Assert.assertEquals(2, countVertices());
//        Assert.assertNotNull(g.getMetaNode());
//        Assert.assertNotNull(a.getMetaNode());
//        Assert.assertTrue(g.getMetaNode() instanceof  GodMeta);
//        Assert.assertTrue(a.getMetaNode() instanceof  AngelMeta);
//    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy