METHOD_0 ( ) { final org . apache . rya . api . client . IDENT_0 IDENT_1 = mock ( org . apache . rya . api . client . IDENT_0 . class ) ; final java . util . List < java . lang . String > IDENT_2 = com . google . common . collect . Lists . newArrayList ( "a" , "b" , STRING_0 , STRING_1 ) ; when ( IDENT_1 . METHOD_0 ( ) ) . thenReturn ( IDENT_2 ) ; final org . apache . rya . api . client . IDENT_3 IDENT_4 = mock ( org . apache . rya . api . client . IDENT_3 . class ) ; when ( IDENT_4 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; final org . apache . rya . shell . IDENT_5 state = new org . apache . rya . shell . METHOD_2 ( ) ; state . METHOD_3 ( mock ( org . apache . rya . api . client . accumulo . IDENT_6 . class ) , IDENT_4 ) ; state . METHOD_4 ( "b" ) ; final org . apache . rya . shell . IDENT_7 commands = new org . apache . rya . shell . METHOD_5 ( state , mock ( org . apache . rya . shell . util . IDENT_8 . class ) , mock ( org . apache . rya . shell . util . IDENT_9 . class ) , mock ( org . apache . rya . shell . util . IDENT_10 . class ) ) ; final java . lang . String message = commands . METHOD_0 ( ) ; final java . lang . String expected = STRING_2 + ( ( ( STRING_3 + STRING_4 ) + STRING_5 ) + STRING_6 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { final java . util . List < java . lang . String > IDENT_11 = new java . util . ArrayList ( ) ; for ( final java . lang . String db : IDENT_12 . METHOD_6 ( ) ) { for ( final java . lang . String collection : IDENT_12 . METHOD_7 ( db ) . METHOD_8 ( ) ) { if ( collection . equals ( IDENT_13 . IDENT_14 ) ) { IDENT_11 . add ( db ) ; break ; } } } return IDENT_11 ; }
org . junit . Assert . assertEquals ( expected , message )