METHOD_0 ( ) { org . apache . IDENT_0 . stream . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 response = org . apache . IDENT_0 . stream . storage . impl . IDENT_5 . METHOD_1 ( IDENT_6 . IDENT_7 ) ; org . apache . IDENT_0 . stream . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_8 request = org . apache . IDENT_0 . stream . storage . impl . IDENT_5 . METHOD_2 ( ) ; when ( IDENT_9 . put ( request ) ) . thenReturn ( java . util . concurrent . IDENT_10 . METHOD_3 ( response ) ) ; java . util . concurrent . IDENT_10 < org . apache . IDENT_0 . stream . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 > future = METHOD_4 ( IDENT_11 . put ( request ) ) ; verify ( IDENT_9 , times ( 1 ) ) . put ( eq ( request ) ) ; "<AssertPlaceHolder>" ; } get ( ) { while ( true ) { try { return IDENT_12 . get ( 100 , TimeUnit . IDENT_13 ) ; } catch ( java . lang . IDENT_14 e ) { log . warn ( STRING_0 , e ) ; return - 1L ; } catch ( java . util . concurrent . IDENT_15 e ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } catch ( java . util . concurrent . IDENT_16 e ) { continue ; } } }
org . junit . Assert . assertTrue ( ( response == ( future . get ( ) ) ) )