@Test
public void testId() {

    IndirectCOSObjectIdentifier id = new IndirectCOSObjectIdentifier(new COSObjectKey(10, 0), "source");
    dictionary.idIfAbsent(id);
    victim = new ReadOnlyFilteredCOSStream(dictionary, stream, 10);
    assertTrue(victim.hasId());
    assertEquals(id, victim.id());
}