METHOD_0 ( ) { final org . apache . rya . api . client . IDENT_0 IDENT_1 = mock ( org . apache . rya . api . client . IDENT_0 . class ) ; final org . apache . rya . api . client . IDENT_2 IDENT_3 = mock ( org . apache . rya . api . client . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( java . util . Optional . of ( IDENT_1 ) ) ; final org . apache . rya . shell . IDENT_4 state = new org . apache . rya . shell . METHOD_2 ( ) ; state . METHOD_3 ( mock ( org . apache . rya . api . client . accumulo . IDENT_5 . class ) , IDENT_3 ) ; final java . lang . String IDENT_6 = STRING_0 ; state . METHOD_4 ( IDENT_6 ) ; final java . lang . String IDENT_7 = STRING_1 ; final java . lang . String IDENT_8 = STRING_2 ; final java . lang . String IDENT_9 = STRING_3 ; final org . apache . rya . shell . IDENT_10 commands = new org . apache . rya . shell . METHOD_5 ( state , mock ( org . apache . rya . shell . util . IDENT_11 . class ) , mock ( org . apache . rya . shell . util . IDENT_12 . class ) , mock ( org . apache . rya . shell . util . IDENT_13 . class ) ) ; final java . lang . String message = commands . METHOD_6 ( IDENT_7 , IDENT_8 , IDENT_9 ) ; verify ( IDENT_1 ) . METHOD_0 ( eq ( IDENT_6 ) , eq ( IDENT_7 ) , eq ( IDENT_8 ) , eq ( IDENT_9 ) ) ; final java . lang . String expected = STRING_4 ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String , java . lang . String , java . lang . String , java . lang . String ) { METHOD_7 ( IDENT_6 ) ; METHOD_7 ( IDENT_7 ) ; final com . google . common . base . Optional < org . apache . rya . api . instance . IDENT_14 > IDENT_15 = IDENT_16 . METHOD_8 ( IDENT_6 ) ; final boolean IDENT_17 = IDENT_15 . METHOD_9 ( ) ; if ( ! IDENT_17 ) { throw new org . apache . rya . api . client . METHOD_10 ( java . lang . String . format ( STRING_5 , IDENT_6 ) ) ; } final boolean IDENT_18 = IDENT_15 . get ( ) . METHOD_11 ( ) . METHOD_12 ( ) ; if ( ! IDENT_18 ) { throw new org . apache . rya . api . client . METHOD_13 ( java . lang . String . format ( STRING_6 , IDENT_6 ) ) ; } final org . apache . rya . api . instance . IDENT_14 . IDENT_19 IDENT_20 = IDENT_15 . get ( ) . METHOD_11 ( ) ; final com . google . common . base . Optional < org . apache . rya . api . instance . IDENT_14 . IDENT_19 . IDENT_21 > IDENT_22 = IDENT_20 . METHOD_14 ( ) ; if ( IDENT_22 . METHOD_9 ( ) ) { final java . lang . String IDENT_23 = IDENT_20 . METHOD_14 ( ) . get ( ) . METHOD_15 ( ) ; try { METHOD_16 ( IDENT_6 , IDENT_23 , IDENT_7 , IDENT_8 , IDENT_9 ) ; } catch ( org . eclipse . IDENT_24 . query . IDENT_25 | org . apache . rya . indexing . IDENT_26 . IDENT_27 . app . query . IDENT_28 | org . apache . rya . indexing . IDENT_26 . IDENT_27 . api . IDENT_29 . IDENT_30 e ) { throw new org . apache . rya . api . client . METHOD_13 ( java . lang . String . format ( STRING_7 , IDENT_7 ) , e ) ; } } else { org . apache . rya . api . client . accumulo . IDENT_31 . log . error ( java . lang . String . format ( ( STRING_8 + STRING_9 ) , IDENT_6 ) ) ; } }
org . junit . Assert . assertEquals ( expected , message )