@Test
public void testIdentifySubpackage() {

    graph.startedScan();
    assertNull("expect last identified is null", graph.getLastIdentified());
    assertFalse("expect not identified " + cont2sub1, graph.isIdentified(cont2sub1));
    graph.identifySubpackage(cont2sub1, container2);
    assertTrue("expect identified " + cont2sub1, graph.isIdentified(cont2sub1));
    assertEquals("expect cont2sub1 is last identified",
            cont2sub1, graph.getLastIdentified());
    assertFalse("expect not identified " + cont1sub1, graph.isIdentified(cont1sub1));
    graph.identifySubpackage(cont1sub1, container1);
    assertTrue("expect identified " + cont1sub1, graph.isIdentified(cont1sub1));
    assertEquals("expect cont1sub1 is last identified",
            cont1sub1, graph.getLastIdentified());
}