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 ( 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 org . apache . rya . shell . IDENT_8 commands = new org . apache . rya . shell . METHOD_5 ( state , mock ( org . apache . rya . shell . util . IDENT_9 . class ) , mock ( org . apache . rya . shell . util . IDENT_10 . class ) , mock ( org . apache . rya . shell . util . IDENT_11 . class ) ) ; final java . lang . String message = commands . METHOD_6 ( IDENT_7 ) ; verify ( IDENT_1 ) . METHOD_0 ( eq ( IDENT_6 ) , eq ( IDENT_7 ) ) ; final java . lang . String expected = STRING_2 ; "<AssertPlaceHolder>" ; } METHOD_0 ( 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_12 > IDENT_13 = IDENT_14 . METHOD_8 ( IDENT_6 ) ; final boolean IDENT_15 = IDENT_13 . METHOD_9 ( ) ; if ( ! IDENT_15 ) { throw new org . apache . rya . api . client . METHOD_10 ( java . lang . String . format ( STRING_3 , IDENT_6 ) ) ; } final boolean IDENT_16 = IDENT_13 . get ( ) . METHOD_11 ( ) . METHOD_12 ( ) ; if ( ! IDENT_16 ) { throw new org . apache . rya . api . client . METHOD_13 ( java . lang . String . format ( STRING_4 , IDENT_6 ) ) ; } final boolean IDENT_17 = IDENT_13 . get ( ) . METHOD_11 ( ) . METHOD_14 ( ) . containsKey ( IDENT_7 ) ; if ( ! IDENT_17 ) { throw new org . apache . rya . api . client . METHOD_13 ( java . lang . String . format ( STRING_5 , IDENT_6 , IDENT_7 ) ) ; } final org . apache . rya . api . instance . IDENT_12 . IDENT_18 IDENT_19 = IDENT_13 . get ( ) . METHOD_11 ( ) ; final org . apache . rya . api . instance . IDENT_12 . IDENT_18 . IDENT_20 IDENT_21 = IDENT_19 . METHOD_14 ( ) . get ( IDENT_7 ) ; if ( IDENT_21 . METHOD_15 ( ) . METHOD_9 ( ) ) { if ( ( IDENT_21 . METHOD_15 ( ) . get ( ) ) == ( org . apache . rya . api . instance . IDENT_12 . IDENT_18 . IDENT_20 . IDENT_22 . IDENT_23 ) ) { final com . google . common . base . Optional < org . apache . rya . api . instance . IDENT_12 . IDENT_18 . IDENT_24 > IDENT_25 = IDENT_19 . METHOD_16 ( ) ; if ( IDENT_25 . METHOD_9 ( ) ) { final java . lang . String IDENT_26 = IDENT_19 . METHOD_16 ( ) . get ( ) . METHOD_17 ( ) ; METHOD_18 ( IDENT_26 , IDENT_7 ) ; } else { org . apache . rya . api . client . accumulo . IDENT_27 . log . error ( java . lang . String . format ( ( STRING_6 + STRING_7 ) , IDENT_6 ) ) ; } } } try ( final org . apache . rya . indexing . IDENT_28 . storage . IDENT_29 IDENT_30 = new org . apache . rya . indexing . IDENT_28 . storage . accumulo . METHOD_19 ( METHOD_20 ( ) , IDENT_6 ) ) { IDENT_30 . METHOD_21 ( IDENT_7 ) ; } catch ( final org . apache . rya . indexing . IDENT_28 . storage . IDENT_29 . IDENT_31 e ) { throw new org . apache . rya . api . client . METHOD_13 ( STRING_8 , e ) ; } }
org . junit . Assert . assertEquals ( expected , message )