Package org.tinyuml.draw

Examples of org.tinyuml.draw.NoteConnection


  public void testCreateNoteConnection() {
    mockElementFactory.expects(atLeastOnce()).method("create").
      with(eq(ElementType.CLASS)).will(returnValue(clss));
    ClassElement clss = factory.createClass();
    NoteElement note = factory.createNote();
    NoteConnection conn = (NoteConnection)
      factory.createNoteConnection(clss, note);
    assertNull(conn.getModelElement());
    assertEquals(clss, conn.getNode0());
    assertEquals(note, conn.getNode1());
    assertNull(conn.getParent());
  }
View Full Code Here

TOP

Related Classes of org.tinyuml.draw.NoteConnection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.