METHOD_0 ( ) { int IDENT_0 = 1000 ; com . IDENT_1 . client . impl . IDENT_2 connection = mock ( com . IDENT_1 . client . impl . IDENT_2 . class ) ; when ( connection . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; when ( connection . METHOD_2 ( ) ) . thenReturn ( IDENT_3 . IDENT_4 ) ; final com . IDENT_1 . client . test . IDENT_5 . IDENT_6 channel = new com . IDENT_1 . client . test . IDENT_5 . METHOD_3 ( connection , 1 ) ; com . IDENT_1 . client . Method method = new com . IDENT_1 . client . impl . IDENT_7 . IDENT_8 . IDENT_9 . Builder ( ) . queue ( "" ) . METHOD_4 ( false ) . METHOD_5 ( true ) . METHOD_6 ( true ) . METHOD_7 ( null ) . build ( ) ; final com . IDENT_1 . client . Method response = new com . IDENT_1 . client . impl . IDENT_7 . IDENT_8 . IDENT_10 . Builder ( ) . queue ( STRING_0 ) . METHOD_8 ( 0 ) . METHOD_9 ( 0 ) . build ( ) ; IDENT_11 . METHOD_10 ( new java . util . concurrent . IDENT_12 < java . lang . IDENT_13 > ( ) { @ com . IDENT_1 . client . test . Override public com . IDENT_1 . client . test . IDENT_13 call ( ) throws com . IDENT_1 . client . test . Exception { channel . METHOD_11 ( new com . IDENT_1 . client . impl . METHOD_12 ( response ) ) ; return null ; } } , ( ( long ) ( IDENT_0 / 2.0 ) ) , TimeUnit . IDENT_14 ) ; com . IDENT_1 . client . impl . METHOD_12 IDENT_15 = channel . METHOD_13 ( method ) ; "<AssertPlaceHolder>" ; } METHOD_14 ( ) { return IDENT_16 ; }
org . junit . Assert . assertThat ( IDENT_15 . METHOD_14 ( ) , is ( response ) )