METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String [ ] args = new java . lang . String [ ] { STRING_1 0 , "" + ( IDENT_1 ) , STRING_2 , kafka . METHOD_1 ( ) , STRING_1 2 , kafka . METHOD_2 ( ) , STRING_3 , org . apache . rya . streams . client . command . IDENT_2 . IDENT_3 . toString ( ) , STRING_4 , IDENT_0 } ; new org . apache . rya . streams . client . command . METHOD_3 ( ) . execute ( args ) ; final java . util . List < org . apache . rya . api . model . IDENT_4 > read = new java . util . ArrayList ( ) ; try ( final org . apache . kafka . IDENT_5 . consumer . IDENT_6 < java . lang . String , org . apache . rya . api . model . IDENT_4 > consumer = org . apache . rya . test . kafka . IDENT_7 . METHOD_4 ( kafka , org . apache . kafka . common . serialization . IDENT_8 . class , org . apache . rya . streams . kafka . serialization . IDENT_9 . class ) ) { consumer . METHOD_5 ( java . util . Arrays . asList ( org . apache . rya . streams . kafka . IDENT_10 . METHOD_6 ( IDENT_1 ) ) ) ; final java . util . Iterator < org . apache . kafka . IDENT_5 . consumer . IDENT_11 < java . lang . String , org . apache . rya . api . model . IDENT_4 > > IDENT_12 = consumer . METHOD_7 ( INT_0 ) . iterator ( ) ; while ( IDENT_12 . hasNext ( ) ) { read . add ( IDENT_12 . next ( ) . value ( ) ) ; } } final java . util . List < org . apache . rya . api . model . IDENT_4 > expected = new java . util . ArrayList ( ) ; expected . add ( new org . apache . rya . api . model . METHOD_8 ( org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_9 ( org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_1 1 ) , org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_5 ) , org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_6 ) ) , IDENT_0 ) ) ; expected . add ( new org . apache . rya . api . model . METHOD_8 ( org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_9 ( org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_6 ) , org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_5 ) , org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_1 ) ) , IDENT_0 ) ) ; expected . add ( new org . apache . rya . api . model . METHOD_8 ( org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_9 ( org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_1 ) , org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_7 ) , org . apache . rya . streams . client . command . IDENT_2 . IDENT_13 . METHOD_10 ( STRING_8 ) ) , IDENT_0 ) ) ; "<AssertPlaceHolder>" ; } add ( java . io . IDENT_14 , java . lang . String , org . eclipse . IDENT_15 . IDENT_16 . IDENT_17 , org . eclipse . IDENT_15 . model . IDENT_18 [ ] ) { org . eclipse . IDENT_15 . IDENT_19 . METHOD_11 ( IDENT_20 ) ; final org . apache . rya . IDENT_21 . utils . IDENT_22 IDENT_23 = new org . apache . rya . IDENT_21 . utils . METHOD_12 ( this ) ; IDENT_23 . METHOD_13 ( IDENT_20 ) ; final boolean IDENT_24 = METHOD_14 ( ) ; try { final org . eclipse . IDENT_15 . repository . util . IDENT_25 loader = new org . eclipse . IDENT_15 . repository . util . METHOD_15 ( METHOD_16 ( ) , METHOD_17 ( ) ) ; loader . load ( reader , IDENT_26 , IDENT_27 , IDENT_23 ) ; METHOD_18 ( IDENT_24 ) ; } catch ( final org . eclipse . IDENT_15 . IDENT_16 . IDENT_28 e ) { METHOD_19 ( IDENT_24 ) ; throw ( ( org . eclipse . IDENT_15 . repository . IDENT_29 ) ( e . METHOD_20 ( ) ) ) ; } catch ( java . io . IOException | java . lang . RuntimeException e ) { METHOD_19 ( IDENT_24 ) ; throw e ; } }
org . junit . Assert . assertEquals ( expected , read )