public void testAcceptsConnection() {
NoteElement note = NoteElement.getPrototype();
ClassElement anyumlnode = ClassElement.getPrototype();
assertTrue(note.acceptsConnection(RelationType.NOTE_CONNECTOR,
RelationEndType.UNSPECIFIED, anyumlnode));
assertTrue(note.acceptsConnection(RelationType.NOTE_CONNECTOR,
RelationEndType.SOURCE, anyumlnode));
assertTrue(note.acceptsConnection(RelationType.NOTE_CONNECTOR,
RelationEndType.TARGET, anyumlnode));
assertFalse(note.acceptsConnection(RelationType.DEPENDENCY,
RelationEndType.UNSPECIFIED, anyumlnode));