@Test @Ignore // FIXME @Given("tower;exportMSE;metamodel") public Repository importMSE(Tower t, String mse) { t.getModel().importMSE(mse); Repository m = t.getModel(); assertEquals(3, m.getElements().size()); return m; }
@Test @Given("#towerHasLayers") public Tower tower(Tower t) { assertEquals(0, t.getModel().size()); assertEquals(0, t.getMetamodel().size()); assertEquals(25, t.getMetaMetamodel().size()); return t; }
@Test @Given("#createTower") public Tower towerHasLayers(Tower t) { assertEquals(t.getModel().getMetamodel(), t.getMetamodel()); assertEquals(t.getMetamodel().getMetamodel(), t.getMetaMetamodel()); assertEquals(t.getMetaMetamodel().getMetamodel(), t.getMetaMetamodel()); return t; }
@Test public Tower createTower() { Tower t = new Tower(); assertNotNull(t.getMetaMetamodel()); assertNotNull(t.getMetamodel()); assertNotNull(t.getModel()); return t; }