@Test
public void testIsIdentified() {

    for (PackageId id : scan1) {
        assertTrue("expect identified " + id, graph.isIdentified(id));
    }
    for (PackageId id : scan2) {
        assertTrue("expect identified " + id, graph.isIdentified(id));
    }
    graph.startedScan();
    for (PackageId id : scan1) {
        assertFalse("expect not identified " + id, graph.isIdentified(id));
    }
    for (PackageId id : scan2) {
        assertFalse("expect not identified " + id, graph.isIdentified(id));
    }
}