TIntObjectIterator { public int key() { return delegate.key(); } TIntObjectIterator(gnu.trove.iterator.TIntObjectIterator<V> delegate); boolean hasNext(); void advance(); void remove(); int key(); V value(); V setValue(V val);  }
@Test public void testKey() { tIntObjectIterator.key(); verify(delegate).key(); }