CachedObjectWrapper implements CachedObject { @Override public byte[] getData() { return cachedData.getData(); } CachedObjectWrapper(final CachedData cachedData); @Override byte[] getData(); @Override int getFlags(); @Override String toString();  }
@Test public void getData() { assertEquals(data, cachedObjectWrapper.getData()); }