question: tests to ensure httpurlconnection #getinputstream is called when 200 is returned . concode_field_sep OutputStream mOutputStreamMock concode_elem_sep HttpURLConnection mHttpConMock concode_elem_sep ExpectedException mThrown concode_field_sep void testCloseError concode_elem_sep void before concode_elem_sep void testFlush concode_elem_sep void testWrite3 concode_elem_sep void testWrite1 concode_elem_sep void testWrite2 concode_elem_sep void testConstructor
target: void function ( ) { when ( mHttpConMock . getResponseCode ( ) ) . thenReturn ( 200 ) ; SwiftOutputStream loc0 = new SwiftOutputStream ( mHttpConMock ) ; loc0 . close ( ) ; verify ( mHttpConMock ) . getInputStream ( ) ; verify ( mHttpConMock ) . disconnect ( ) ; }