testRemoveLink() {
    setUpLinkTests('12345', 'http://www.x.com/', true);

    FIELDMOCK.dispatchChange().$atLeastOnce();
    FIELDMOCK.dispatchSelectionChangeEvent().$anyTimes();

    FIELDMOCK.$replay();
    HELPER.select('12345', 1, '12345', 4);
    // To create the link.
    FORMATTER.execCommandInternal(Command.LINK);
    HELPER.assertHtmlMatches('1<a href="http://www.x.com/">234</a>5');

    // To remove the link.
    HELPER.select('234', 2);
    FORMATTER.execCommandInternal(Command.LINK);
    HELPER.assertHtmlMatches('12345');

    FIELDMOCK.$verify();
    tearDownLinkTests();
  }
@suppress {missingProperties, visibility} suppression added to enable type
     checking