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