METHOD_0 ( ) { org . apache . IDENT_0 . service . IDENT_1 client = mock ( org . apache . IDENT_0 . service . IDENT_1 . class ) ; when ( client . METHOD_1 ( ( ( java . lang . String ) ( any ( ) ) ) , ( ( org . apache . IDENT_0 . IDENT_2 ) ( any ( ) ) ) ) ) . thenReturn ( new com . IDENT_3 . util . IDENT_4 < org . apache . IDENT_0 . IDENT_5 > ( ) ) ; org . apache . IDENT_0 . client . IDENT_6 writer = org . apache . IDENT_0 . client . IDENT_6 . METHOD_2 ( ) . streams ( com . google . common . collect . Lists . newArrayList ( STRING_0 , STRING_1 ) ) . client ( client ) . METHOD_3 ( IDENT_7 . Type . IDENT_8 ) . METHOD_4 ( 10 ) . METHOD_5 ( 20 ) . METHOD_6 ( 2 ) . METHOD_7 ( INT_0 ) . METHOD_8 ( 10 ) . METHOD_9 ( Integer . MAX_VALUE ) . build ( ) ; byte [ ] data = STRING_2 . getBytes ( org . apache . IDENT_0 . client . UTF_8 ) ; java . nio . ByteBuffer buffer = java . nio . ByteBuffer . METHOD_10 ( data ) ; com . IDENT_3 . util . IDENT_9 < org . apache . IDENT_0 . IDENT_5 > IDENT_10 = writer . write ( buffer ) ; try { com . IDENT_3 . util . IDENT_11 . result ( IDENT_10 ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( com . IDENT_3 . IDENT_12 . IDENT_13 e ) { long IDENT_14 = e . METHOD_11 ( ) . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; } writer . close ( ) ; } fail ( java . lang . Throwable ) { IDENT_15 = java . util . Optional . of ( IDENT_16 ) ; for ( java . util . concurrent . IDENT_17 < org . apache . IDENT_0 . common . util . IDENT_18 > future : IDENT_19 ) { future . METHOD_13 ( true ) ; } IDENT_19 . METHOD_14 ( ) ; }
org . junit . Assert . assertTrue ( ( ( IDENT_14 >= ( 10 + 20 ) ) && ( IDENT_14 < INT_0 ) ) )