CacheTransaction { void invalidate() { valid = false; } CacheTransaction(CacheHandle hnd, StreamFilter filter); @Override String toString();  }
@Test public void testInvalidate() { assertTrue(transaction.isValid()); transaction.invalidate(); assertFalse(transaction.isValid()); }