27282930313233
@Before public void before() { mockStream = createMock("mockStream", Stream.class); mockStream.close(); replay(mockStream); inputStream = new TorInputStream(mockStream); }