Package org.tinyuml.draw

Examples of org.tinyuml.draw.Dependency


    PackageElement target = factory.createPackage();
   
    mockElementFactory.expects(atLeastOnce()).method("create").
      with(eq(ElementType.DEPENDENCY)).will(returnValue(assoc));
   
    Dependency conn = (Dependency) factory.createDependency(source, target);
    assertEquals(assoc, conn.getModelElement());
    assertEquals(source, conn.getNode0());
    assertEquals(target, conn.getNode1());
    assertNull(conn.getParent());
  }
View Full Code Here

TOP

Related Classes of org.tinyuml.draw.Dependency

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.