@Test
void testRenderIncomingLinks()
{

    final SpecificationItem item = SpecificationItem.builder() //
            .id(ITEM_A_ID) //
            .build();
    final LinkedSpecificationItem linkedItem = new LinkedSpecificationItem(item);
    linkedItem.addLinkToItemWithStatus(this.itemMockB, LinkStatus.COVERED_SHALLOW);
    linkedItem.addLinkToItemWithStatus(this.itemMockC, LinkStatus.COVERED_UNWANTED);
    final Viewable view = this.factory.createSpecificationItem(linkedItem);
    view.render(0);
    assertOutputLines( //
            "<section class=\"sitem\" id=\"dsn~name-a~1\">", //
            "  <details>", //
            "    <summary title=\"dsn~name-a~1\">" + CROSS_MARK
                    + " <b>name-a</b><small>, rev. 1, dsn</small></summary>", //
            "    <p class=\"id\">" + ITEM_A_ID + "</p>", //
            "    <div class=\"in\">", //
            "      <h6>In: 2</h6>", //
            "      <ul>", //
            "        <li><a href=\"#" + ITEM_B_ID + "\">" + ITEM_B_ID + "</a></li>", //
            "        <li><a href=\"#" + ITEM_C_ID + "\">" + ITEM_C_ID
                    + "</a> <em>(unwanted coverage)</em></li>", //
            "      </ul>", //
            "    </div>", //
            "  </details>", //
            "</section>", //
            "");
}