METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( METHOD_2 ( ) ) ; final java . util . List < org . apache . nifi . IDENT_1 . search . IDENT_2 > IDENT_3 = new java . util . ArrayList ( ) ; IDENT_3 . add ( IDENT_4 . IDENT_5 ) ; final org . apache . nifi . IDENT_1 . IDENT_6 config = org . apache . nifi . IDENT_1 . IDENT_7 . METHOD_3 ( ) ; config . METHOD_4 ( ( INT_0 * INT_0 ) ) ; config . METHOD_5 ( 2 , TimeUnit . IDENT_8 ) ; config . METHOD_6 ( IDENT_3 ) ; repo = new org . apache . nifi . IDENT_1 . METHOD_7 ( config , org . apache . nifi . IDENT_1 . IDENT_7 . IDENT_9 ) ; repo . METHOD_8 ( METHOD_9 ( ) , null , null , IDENT_10 . IDENT_11 ) ; final java . util . Map < java . lang . String , java . lang . String > attributes = new java . util . HashMap ( ) ; attributes . put ( STRING_0 , STRING_1 ) ; attributes . put ( STRING_1 , STRING_0 ) ; attributes . put ( STRING_2 , java . util . UUID . METHOD_10 ( ) . toString ( ) ) ; final org . apache . nifi . IDENT_1 . IDENT_12 builder = new org . apache . nifi . IDENT_1 . IDENT_13 . Builder ( ) ; builder . METHOD_11 ( java . lang . System . currentTimeMillis ( ) ) ; builder . METHOD_12 ( IDENT_14 . IDENT_15 ) ; builder . METHOD_13 ( STRING_3 ) ; builder . METHOD_14 ( org . apache . nifi . IDENT_1 . IDENT_16 . METHOD_15 ( INT_1 , INT_2 , attributes ) ) ; builder . METHOD_16 ( STRING_4 ) ; builder . METHOD_17 ( STRING_5 ) ; final org . apache . nifi . IDENT_1 . IDENT_17 record = builder . build ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { repo . METHOD_18 ( record ) ; } builder . METHOD_16 ( STRING_6 ) ; attributes . put ( STRING_2 , STRING_7 ) ; builder . METHOD_14 ( org . apache . nifi . IDENT_1 . IDENT_16 . METHOD_15 ( INT_3 , INT_3 , attributes ) ) ; repo . METHOD_18 ( builder . build ( ) ) ; repo . METHOD_19 ( ) ; java . lang . Thread . sleep ( INT_4 ) ; attributes . put ( STRING_2 , STRING_8 ) ; builder . METHOD_14 ( org . apache . nifi . IDENT_1 . IDENT_16 . METHOD_15 ( INT_3 , INT_3 , attributes ) ) ; repo . METHOD_18 ( builder . build ( ) ) ; repo . METHOD_19 ( ) ; final org . apache . nifi . IDENT_1 . search . Query query = new org . apache . nifi . IDENT_1 . search . Query ( java . util . UUID . METHOD_10 ( ) . toString ( ) ) ; query . METHOD_20 ( org . apache . nifi . IDENT_1 . search . IDENT_18 . METHOD_21 ( IDENT_4 . IDENT_5 , STRING_6 ) ) ; query . METHOD_22 ( 100 ) ; final org . apache . nifi . IDENT_1 . search . IDENT_19 result = repo . METHOD_23 ( query , METHOD_24 ( ) ) ; "<AssertPlaceHolder>" ; for ( final org . apache . nifi . IDENT_1 . IDENT_17 match : result . METHOD_25 ( ) ) { System . out . println ( match ) ; } } METHOD_25 ( ) { IDENT_20 . METHOD_26 ( ) ; try { return new java . util . ArrayList ( IDENT_21 ) ; } finally { IDENT_20 . METHOD_27 ( ) ; } }
org . junit . Assert . assertEquals ( 2 , result . METHOD_25 ( ) . size ( ) )