METHOD_0 ( ) { final java . util . concurrent . atomic . IDENT_0 IDENT_1 = new java . util . concurrent . atomic . METHOD_1 ( false ) ; final java . util . concurrent . IDENT_2 < org . apache . rya . streams . IDENT_3 . IDENT_4 . IDENT_5 > queue = new java . util . concurrent . METHOD_2 ( 1 ) ; final java . util . concurrent . IDENT_6 IDENT_7 = new java . util . concurrent . METHOD_3 ( 1 ) ; IDENT_7 . METHOD_4 ( ) ; final org . apache . rya . streams . IDENT_3 . IDENT_4 . IDENT_8 generator = new org . apache . rya . streams . IDENT_3 . IDENT_4 . METHOD_5 ( STRING_0 , IDENT_7 , queue , 50 , java . util . concurrent . TimeUnit . IDENT_9 , IDENT_1 ) ; final java . util . UUID IDENT_10 = java . util . UUID . METHOD_6 ( ) ; final org . apache . rya . streams . api . entity . IDENT_11 query = new org . apache . rya . streams . api . entity . METHOD_7 ( IDENT_10 , STRING_1 , true , false ) ; final java . lang . Thread IDENT_12 = new java . lang . Thread ( ( ) -> { final org . apache . rya . streams . api . IDENT_13 . IDENT_14 IDENT_15 = org . apache . rya . streams . api . IDENT_13 . IDENT_14 . update ( IDENT_10 , true ) ; final IDENT_16 < org . apache . rya . streams . api . IDENT_13 . IDENT_14 > entry = new org . apache . rya . streams . IDENT_3 . IDENT_16 < > ( 0 , IDENT_15 ) ; generator . METHOD_8 ( entry , java . util . Optional . of ( query ) ) ; } ) ; IDENT_12 . start ( ) ; try { final org . apache . rya . streams . IDENT_3 . IDENT_4 . IDENT_5 event = queue . METHOD_9 ( INT_0 , TimeUnit . IDENT_9 ) ; final org . apache . rya . streams . IDENT_3 . IDENT_4 . IDENT_5 expected = org . apache . rya . streams . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_10 ( STRING_0 , new org . apache . rya . streams . api . entity . METHOD_7 ( IDENT_10 , query . METHOD_11 ( ) , query . METHOD_12 ( ) , query . METHOD_13 ( ) ) ) ; "<AssertPlaceHolder>" ; } finally { IDENT_1 . set ( true ) ; IDENT_12 . join ( ) ; } } METHOD_13 ( ) { return METHOD_13 ; }
org . junit . Assert . assertEquals ( expected , event )