METHOD_0 ( ) { METHOD_1 ( 2 ) ; com . google . cloud . storage . IDENT_0 channel = METHOD_2 ( com . google . cloud . storage . IDENT_0 . class ) ; expect ( storage . METHOD_3 ( ) ) . andReturn ( IDENT_1 ) ; expect ( storage . writer ( eq ( IDENT_2 ) ) ) . andReturn ( channel ) ; replay ( storage ) ; METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } writer ( ) { byte [ ] content = STRING_0 . getBytes ( com . google . cloud . examples . storage . IDENT_3 . UTF_8 ) ; try ( com . google . cloud . IDENT_4 writer = IDENT_5 . writer ( ) ) { try { writer . write ( java . nio . ByteBuffer . METHOD_5 ( content , 0 , content . length ) ) ; } catch ( java . lang . Exception ex ) { } }
org . junit . Assert . assertSame ( channel , IDENT_5 . writer ( ) )