METHOD_0 ( ) { java . util . IDENT_0 . METHOD_1 ( java . util . IDENT_0 . METHOD_2 ( STRING_0 3 ) ) ; final org . apache . rya . api . client . IDENT_1 IDENT_2 = mock ( org . apache . rya . api . client . IDENT_1 . class ) ; final java . lang . String IDENT_3 = STRING_1 ; final org . apache . rya . api . instance . IDENT_4 IDENT_5 = org . apache . rya . api . instance . IDENT_4 . builder ( ) . METHOD_3 ( IDENT_3 ) . METHOD_4 ( STRING_2 6 ) . METHOD_5 ( STRING_2 8 ) . METHOD_5 ( STRING_0 2 ) . METHOD_5 ( STRING_0 1 ) . METHOD_6 ( new org . apache . rya . api . instance . IDENT_4 . METHOD_7 ( true ) ) . METHOD_8 ( new org . apache . rya . api . instance . IDENT_4 . METHOD_9 ( true ) ) . METHOD_10 ( new org . apache . rya . api . instance . IDENT_4 . METHOD_11 ( true ) ) . METHOD_12 ( org . apache . rya . api . instance . IDENT_4 . IDENT_6 . builder ( ) . METHOD_13 ( true ) . METHOD_14 ( new org . apache . rya . api . instance . IDENT_4 . IDENT_6 . METHOD_15 ( STRING_0 6 ) ) . METHOD_16 ( org . apache . rya . api . instance . IDENT_4 . IDENT_6 . IDENT_7 . builder ( ) . setId ( STRING_0 0 ) . METHOD_17 ( IDENT_8 . IDENT_9 ) . METHOD_18 ( new java . util . Date ( INT_0 ) ) ) . METHOD_16 ( org . apache . rya . api . instance . IDENT_4 . IDENT_6 . IDENT_7 . builder ( ) . setId ( STRING_0 9 ) . METHOD_17 ( IDENT_8 . IDENT_10 ) ) ) . METHOD_19 ( new org . apache . rya . api . instance . IDENT_4 . METHOD_20 ( com . google . common . base . Optional . of ( new java . util . Date ( INT_1 ) ) ) ) . METHOD_21 ( new org . apache . rya . api . instance . IDENT_4 . METHOD_22 ( com . google . common . base . Optional . of ( new java . util . Date ( INT_2 ) ) ) ) . build ( ) ; when ( IDENT_2 . METHOD_23 ( eq ( IDENT_3 ) ) ) . thenReturn ( com . google . common . base . Optional . of ( IDENT_5 ) ) ; final org . apache . rya . api . client . IDENT_11 IDENT_12 = mock ( org . apache . rya . api . client . IDENT_11 . class ) ; when ( IDENT_12 . METHOD_24 ( ) ) . thenReturn ( IDENT_2 ) ; final org . apache . rya . shell . IDENT_13 state = new org . apache . rya . shell . METHOD_25 ( ) ; state . METHOD_26 ( mock ( org . apache . rya . api . client . accumulo . IDENT_14 . class ) , IDENT_12 ) ; state . METHOD_27 ( IDENT_3 ) ; final org . apache . rya . shell . IDENT_15 commands = new org . apache . rya . shell . METHOD_28 ( state , mock ( org . apache . rya . shell . util . IDENT_16 . class ) , mock ( org . apache . rya . shell . util . IDENT_17 . class ) , mock ( org . apache . rya . shell . util . IDENT_18 . class ) ) ; final java . lang . String message = commands . METHOD_29 ( ) ; verify ( IDENT_2 ) . METHOD_23 ( eq ( IDENT_3 ) ) ; final java . lang . String expected = STRING_2 + ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( STRING_3 2 + STRING_0 8 ) + STRING_0 7 ) + STRING_0 ) + STRING_2 9 ) + STRING_0 4 ) + STRING_3 0 ) + STRING_0 4 ) + STRING_4 ) + STRING_0 4 ) + STRING_2 0 ) + STRING_0 4 ) + STRING_2 4 ) + STRING_0 5 ) + STRING_3 1 ) + STRING_2 1 ) + STRING_2 2 ) + STRING_5 ) + STRING_2 7 ) + STRING_6 ) + STRING_7 ) + STRING_2 5 ) + STRING_3 ) + STRING_8 ) + STRING_2 3 ) ; "<AssertPlaceHolder>" ; } METHOD_23 ( java . lang . String ) { METHOD_30 ( IDENT_3 ) ; if ( ! ( IDENT_19 . exists ( IDENT_3 ) ) ) { throw new org . apache . rya . api . client . METHOD_31 ( java . lang . String . format ( STRING_9 , IDENT_3 ) ) ; } final org . apache . rya . api . instance . IDENT_20 IDENT_21 = new org . apache . rya . accumulo . instance . METHOD_32 ( METHOD_33 ( ) , IDENT_3 ) ; try { return com . google . common . base . Optional . of ( IDENT_21 . METHOD_34 ( ) ) ; } catch ( final org . apache . rya . api . instance . IDENT_20 . IDENT_22 e ) { return com . google . common . base . Optional . METHOD_35 ( ) ; } catch ( final org . apache . rya . api . instance . IDENT_20 . IDENT_23 e ) { throw new org . apache . rya . api . client . METHOD_36 ( STRING_10 , e ) ; } }
org . junit . Assert . assertEquals ( expected , message )