@Test public void testForwardsGetInputStream() throws Exception { DummyStorage storage = new DummyStorage(); MultiReferenceStorage multiReferenceStorage = new MultiReferenceStorage( storage); Assert.assertEquals(ByteArrayInputStream.class, multiReferenceStorage .getInputStream().getClass()); }
public InputStream getInputStream() throws IOException { return storage.getInputStream(); }
MultiReferenceStorage implements Storage { public InputStream getInputStream() throws IOException { return storage.getInputStream(); } }
MultiReferenceStorage implements Storage { public InputStream getInputStream() throws IOException { return storage.getInputStream(); } MultiReferenceStorage(Storage storage); }
MultiReferenceStorage implements Storage { public InputStream getInputStream() throws IOException { return storage.getInputStream(); } MultiReferenceStorage(Storage storage); void addReference(); void delete(); InputStream getInputStream(); }
MultiReferenceStorage implements Storage { public InputStream getInputStream() throws IOException { return storage.getInputStream(); } MultiReferenceStorage(Storage storage); void addReference(); void delete(); InputStream getInputStream();  }