Ejemplo n.º 1
0
  /*
   * Creates two entityNodes with the same name and adds them at the same time
   * Not really sure what shoud happen here
   */
  @Test
  public void testDuplicateNameCreation() {
    EntityNode en = new EntityNode("TestNode", _sketch);
    EntityNode en1 = new EntityNode("TestNode", _sketch);

    _sketch.addEntity(en, en1);

    assertEquals("Names should not be equal", false, en.getName().equals(en1.getName()));
  }