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 java . lang . Thread IDENT_11 = new java . lang . Thread ( ( ) -> { final org . apache . rya . streams . api . IDENT_12 . IDENT_13 IDENT_14 = org . apache . rya . streams . api . IDENT_12 . IDENT_13 . delete ( IDENT_10 ) ; final IDENT_15 < org . apache . rya . streams . api . IDENT_12 . IDENT_13 > entry = new org . apache . rya . streams . IDENT_3 . IDENT_15 < > ( 0 , IDENT_14 ) ; generator . METHOD_7 ( entry , java . util . Optional . empty ( ) ) ; } ) ; IDENT_11 . start ( ) ; try { final org . apache . rya . streams . IDENT_3 . IDENT_4 . IDENT_5 event = queue . METHOD_8 ( 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_9 ( STRING_0 , IDENT_10 ) ; "<AssertPlaceHolder>" ; } finally { IDENT_1 . set ( true ) ; IDENT_11 . join ( ) ; } } METHOD_9 ( java . lang . String , java . util . UUID ) { return new org . apache . rya . streams . IDENT_3 . IDENT_4 . METHOD_10 ( IDENT_16 , org . apache . rya . streams . IDENT_3 . IDENT_4 . METHOD_10 . IDENT_17 . IDENT_18 , java . util . Optional . of ( IDENT_10 ) , java . util . Optional . empty ( ) ) ; }
org . junit . Assert . assertEquals ( expected , event )