* Tests the creation of a note connection.
*/
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());