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 org . apache . rya . api . client . IDENT_3 IDENT_4 = mock ( org . apache . rya . api . client . IDENT_3 . class ) ; final java . util . Set < org . apache . rya . api . client . IDENT_3 . IDENT_5 > IDENT_6 = com . google . common . collect . IDENT_7 . METHOD_1 ( IDENT_5 . IDENT_8 ) ; when ( IDENT_4 . METHOD_0 ( eq ( IDENT_0 ) , eq ( IDENT_1 ) , eq ( IDENT_6 ) ) ) . thenReturn ( IDENT_2 ) ; final org . apache . rya . api . client . IDENT_9 IDENT_10 = mock ( org . apache . rya . api . client . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_2 ( ) ) . thenReturn ( IDENT_4 ) ; final org . apache . rya . shell . IDENT_11 state = new org . apache . rya . shell . METHOD_3 ( ) ; state . METHOD_4 ( mock ( org . apache . rya . api . client . accumulo . IDENT_12 . class ) , IDENT_10 ) ; state . METHOD_5 ( IDENT_0 ) ; final org . apache . rya . shell . util . IDENT_13 IDENT_14 = mock ( org . apache . rya . shell . util . IDENT_13 . class ) ; when ( IDENT_14 . METHOD_6 ( ) ) . thenReturn ( com . google . common . base . Optional . of ( IDENT_1 ) ) ; final org . apache . rya . shell . IDENT_15 commands = new org . apache . rya . shell . METHOD_7 ( state , mock ( org . apache . rya . shell . util . IDENT_16 . class ) , IDENT_14 , mock ( org . apache . rya . shell . util . IDENT_17 . class ) ) ; final java . lang . String message = commands . METHOD_8 ( true , false ) ; verify ( IDENT_4 ) . METHOD_0 ( eq ( IDENT_0 ) , eq ( IDENT_1 ) , eq ( IDENT_6 ) ) ; final java . lang . String expected = STRING_3 ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String , java . lang . String , java . util . Set ) { METHOD_9 ( IDENT_0 ) ; METHOD_9 ( IDENT_1 ) ; final com . google . common . base . Optional < org . apache . rya . api . instance . IDENT_18 > IDENT_19 = IDENT_20 . METHOD_10 ( IDENT_0 ) ; final boolean IDENT_21 = IDENT_19 . METHOD_11 ( ) ; if ( ! IDENT_21 ) { throw new org . apache . rya . api . client . METHOD_12 ( java . lang . String . format ( STRING_4 , IDENT_0 ) ) ; } final org . apache . rya . api . instance . IDENT_18 . IDENT_22 IDENT_23 = IDENT_19 . get ( ) . METHOD_13 ( ) ; final boolean IDENT_24 = IDENT_23 . METHOD_14 ( ) ; if ( ! IDENT_24 ) { throw new org . apache . rya . api . client . METHOD_15 ( java . lang . String . format ( STRING_5 , IDENT_0 ) ) ; } final java . lang . String IDENT_2 ; try ( final org . apache . rya . indexing . IDENT_25 . storage . IDENT_26 IDENT_27 = new org . apache . rya . indexing . IDENT_25 . storage . accumulo . METHOD_16 ( METHOD_17 ( ) , IDENT_0 ) ) { IDENT_2 = IDENT_27 . METHOD_8 ( IDENT_1 ) ; final com . google . common . base . Optional < org . apache . rya . api . instance . IDENT_18 . IDENT_22 . IDENT_28 > IDENT_29 = IDENT_23 . METHOD_18 ( ) ; if ( IDENT_29 . METHOD_11 ( ) ) { final java . lang . String IDENT_30 = IDENT_29 . get ( ) . METHOD_19 ( ) ; try { METHOD_20 ( IDENT_0 , IDENT_30 , IDENT_2 , IDENT_1 , IDENT_6 ) ; } catch ( org . eclipse . IDENT_31 . repository . IDENT_32 | org . eclipse . IDENT_31 . query . IDENT_33 | org . eclipse . IDENT_31 . IDENT_34 . IDENT_35 | org . eclipse . IDENT_31 . query . IDENT_36 | org . apache . rya . indexing . IDENT_25 . storage . IDENT_37 | org . apache . rya . api . IDENT_38 . IDENT_39 e ) { throw new org . apache . rya . api . client . METHOD_15 ( STRING_6 , e ) ; } catch ( org . apache . rya . indexing . IDENT_25 . IDENT_40 . app . query . IDENT_41 e ) { throw new org . apache . rya . api . client . METHOD_15 ( ( STRING_7 + ( ( STRING_8 + STRING_9 ) + STRING_10 ) ) ) ; } final org . apache . rya . api . instance . IDENT_42 IDENT_43 = new org . apache . rya . accumulo . instance . METHOD_21 ( METHOD_17 ( ) , IDENT_0 ) ; try { new org . apache . rya . api . instance . METHOD_22 ( IDENT_43 ) . update ( new org . apache . rya . api . instance . METHOD_22 . METHOD_23 ( ) { @ org . apache . rya . api . client . accumulo . Override public org . apache . rya . api . instance . IDENT_18 METHOD_24 ( final org . apache . rya . api . instance . IDENT_18 IDENT_44 ) throws org . apache . rya . api . instance . METHOD_22 . METHOD_23 . IDENT_45 { final org . apache . rya . api . instance . IDENT_18 . IDENT_22 . IDENT_46 IDENT_47 = IDENT_44 . METHOD_13 ( ) . METHOD_25 ( ) . get ( IDENT_2 ) ; final org . apache . rya . api . instance . IDENT_18 . IDENT_22 . IDENT_46 . Builder IDENT_48 = org . apache . rya . api . instance . IDENT_18 . IDENT_22 . IDENT_46 . builder ( IDENT_47 ) . METHOD_26 ( IDENT_49 . IDENT_50 ) ; final org . apache . rya . api . instance . IDENT_18 . Builder builder = org . apache . rya . api . instance . IDENT_18 . builder ( IDENT_44 ) ; builder . METHOD_13 ( ) . METHOD_27 ( IDENT_48 ) ; return builder . build ( ) ; } } ) ; } catch ( org . apache . rya . api . instance . IDENT_42 . IDENT_51 | org . apache . rya . api . instance . METHOD_22 . METHOD_23 . IDENT_45 e ) { throw new org . apache . rya . api . client . METHOD_15 ( STRING_11 , e ) ; } } return IDENT_2 ; } catch ( final org . apache . rya . indexing . IDENT_25 . storage . IDENT_26 . IDENT_52 e ) { throw new org . apache . rya . api . client . METHOD_15 ( STRING_12 , e ) ; } }
org . junit . Assert . assertEquals ( expected , message )