METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = null ; final java . lang . String IDENT_2 = "" ; final org . apache . rya . api . client . IDENT_3 IDENT_4 = mock ( org . apache . rya . api . client . IDENT_3 . class ) ; final org . apache . rya . api . client . IDENT_5 IDENT_6 = mock ( org . apache . rya . api . client . IDENT_5 . class ) ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; final org . apache . rya . shell . IDENT_7 state = new org . apache . rya . shell . METHOD_2 ( ) ; state . METHOD_3 ( mock ( org . apache . rya . api . client . accumulo . IDENT_8 . class ) , IDENT_6 ) ; state . METHOD_4 ( IDENT_0 ) ; final org . apache . rya . shell . util . IDENT_9 IDENT_10 = mock ( org . apache . rya . shell . util . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_5 ( ) ) . thenReturn ( com . google . common . base . Optional . METHOD_6 ( ) ) ; final org . apache . rya . shell . util . IDENT_11 IDENT_12 = mock ( org . apache . rya . shell . util . IDENT_11 . class ) ; final org . apache . rya . shell . IDENT_13 commands = new org . apache . rya . shell . METHOD_7 ( state , IDENT_10 , IDENT_12 ) ; final java . lang . String message = commands . METHOD_8 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . lang . String ) { final org . apache . rya . shell . METHOD_2 . IDENT_14 IDENT_15 = state . METHOD_9 ( ) ; final org . apache . rya . api . client . IDENT_5 commands = IDENT_15 . METHOD_10 ( ) . get ( ) ; final com . google . common . base . Optional < java . lang . String > IDENT_16 = IDENT_15 . METHOD_11 ( ) ; final org . apache . rya . api . client . IDENT_3 IDENT_17 = commands . METHOD_1 ( ) ; try { java . lang . String METHOD_8 ; if ( file != null ) { METHOD_8 = new java . lang . String ( java . nio . file . IDENT_18 . METHOD_12 ( new java . io . File ( file ) . METHOD_13 ( ) ) , java . nio . IDENT_19 . IDENT_20 . UTF_8 ) ; IDENT_21 . println ( STRING_1 ) ; IDENT_21 . println ( METHOD_8 ) ; } else { final com . google . common . base . Optional < java . lang . String > IDENT_22 = IDENT_23 . METHOD_5 ( ) ; if ( IDENT_22 . METHOD_14 ( ) ) { METHOD_8 = IDENT_22 . get ( ) ; } else { return "" ; } } IDENT_21 . println ( STRING_2 ) ; IDENT_21 . METHOD_15 ( ) ; final org . eclipse . IDENT_24 . query . IDENT_25 IDENT_26 = IDENT_17 . METHOD_16 ( IDENT_16 . get ( ) , METHOD_8 ) ; final java . util . List < java . lang . String > IDENT_27 = new java . util . ArrayList ( ) ; if ( IDENT_26 . hasNext ( ) ) { IDENT_21 . println ( STRING_3 ) ; final org . eclipse . IDENT_24 . query . IDENT_28 IDENT_29 = IDENT_26 . next ( ) ; for ( final java . lang . String name : IDENT_29 . METHOD_17 ( ) ) { IDENT_27 . add ( name ) ; } IDENT_21 . println ( IDENT_30 . internal . IDENT_31 . join ( IDENT_27 , STRING_4 0 ) ) ; IDENT_21 . println ( METHOD_18 ( IDENT_29 , IDENT_27 ) ) ; } else { IDENT_21 . println ( STRING_5 ) ; } int count = 0 ; while ( IDENT_26 . hasNext ( ) ) { final org . eclipse . IDENT_24 . query . IDENT_28 IDENT_29 = IDENT_26 . next ( ) ; IDENT_21 . println ( METHOD_18 ( IDENT_29 , IDENT_27 ) ) ; count ++ ; if ( count == 20 ) { final com . google . common . base . Optional < java . lang . String > IDENT_32 = IDENT_23 . METHOD_19 ( ) ; if ( IDENT_32 . METHOD_14 ( ) ) { break ; } } } IDENT_26 . close ( ) ; return STRING_6 ; } catch ( org . apache . rya . api . client . IDENT_33 | java . io . IOException e ) { org . apache . rya . shell . METHOD_7 . log . error ( STRING_7 , e ) ; throw new java . lang . RuntimeException ( ( STRING_4 + ( e . getMessage ( ) ) ) , e ) ; } catch ( final java . lang . Exception e ) { org . apache . rya . shell . METHOD_7 . log . error ( STRING_8 , e ) ; return "" ; } finally { try { IDENT_17 . close ( ) ; } catch ( final java . io . IOException e ) { org . apache . rya . shell . METHOD_7 . log . error ( STRING_9 , e ) ; } } }
org . junit . Assert . assertEquals ( IDENT_2 , message )