@Test public void testFlush() throws Exception { SwiftOutputStream stream = new SwiftOutputStream(mHttpConMock); stream.flush(); stream.close(); verify(mOutputStreamMock).flush(); }
@Override public void flush() throws IOException { mOutputStream.flush(); }
SwiftOutputStream extends OutputStream { @Override public void flush() throws IOException { mOutputStream.flush(); } }
SwiftOutputStream extends OutputStream { @Override public void flush() throws IOException { mOutputStream.flush(); } SwiftOutputStream(HttpURLConnection httpCon); }
SwiftOutputStream extends OutputStream { @Override public void flush() throws IOException { mOutputStream.flush(); } SwiftOutputStream(HttpURLConnection httpCon); @Override void write(int b); @Override void write(byte[] b, int off, int len); @Override void write(byte[] b); @Override void close(); @Override void flush(); }
SwiftOutputStream extends OutputStream { @Override public void flush() throws IOException { mOutputStream.flush(); } SwiftOutputStream(HttpURLConnection httpCon); @Override void write(int b); @Override void write(byte[] b, int off, int len); @Override void write(byte[] b); @Override void close(); @Override void flush();  }