METHOD_0 ( ) { org . apache . accumulo . server . security . IDENT_0 . IDENT_1 IDENT_2 = new org . apache . accumulo . server . security . IDENT_0 . METHOD_1 ( IDENT_3 , IDENT_4 ) ; java . util . List < org . apache . accumulo . server . security . IDENT_0 . IDENT_5 > keys = new java . util . ArrayList ( 5 ) ; java . util . List < byte [ ] > IDENT_6 = new java . util . ArrayList ( 5 ) ; java . util . List < java . lang . String > IDENT_7 = new java . util . ArrayList ( 5 ) ; for ( int i = 1 ; i < 6 ; i ++ ) { IDENT_7 . add ( java . lang . Integer . toString ( i ) ) ; org . apache . accumulo . server . security . IDENT_0 . IDENT_5 key = new org . apache . accumulo . server . security . IDENT_0 . METHOD_2 ( i , 0L , INT_0 , org . apache . accumulo . server . security . IDENT_0 . IDENT_8 . IDENT_9 . METHOD_3 ( ) ) ; keys . add ( key ) ; java . io . ByteArrayOutputStream IDENT_10 = new java . io . ByteArrayOutputStream ( ) ; key . write ( new java . io . METHOD_4 ( IDENT_10 ) ) ; IDENT_6 . add ( IDENT_10 . toByteArray ( ) ) ; } expect ( IDENT_3 . exists ( IDENT_4 ) ) . andReturn ( true ) ; expect ( IDENT_3 . METHOD_5 ( eq ( IDENT_4 ) , METHOD_6 ( org . apache . IDENT_11 . data . IDENT_12 . class ) ) ) . andReturn ( java . util . Collections . singletonList ( new org . apache . IDENT_11 . data . METHOD_7 ( IDENT_13 . IDENT_14 . get ( 0 ) . METHOD_8 ( ) , new org . apache . IDENT_11 . data . METHOD_9 ( STRING_0 , STRING_1 ) ) ) ) ; expect ( IDENT_3 . METHOD_10 ( IDENT_4 ) ) . andReturn ( IDENT_7 ) ; for ( int i = 1 ; i < 6 ; i ++ ) { expect ( IDENT_3 . METHOD_11 ( ( ( ( IDENT_4 ) + "/" ) + i ) , null ) ) . andReturn ( IDENT_6 . get ( ( i - 1 ) ) ) ; } replay ( IDENT_3 ) ; IDENT_2 . METHOD_12 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 ) ; } METHOD_13 ( ) { METHOD_14 ( IDENT_15 . get ( ) , STRING_2 ) ; java . util . List < java . lang . String > IDENT_7 = IDENT_16 . METHOD_10 ( IDENT_4 ) ; if ( IDENT_7 . isEmpty ( ) ) { return java . util . Collections . emptyList ( ) ; } java . util . List < org . apache . accumulo . server . security . IDENT_0 . METHOD_2 > keys = new java . util . ArrayList ( IDENT_7 . size ( ) ) ; for ( java . lang . String child : IDENT_7 ) { byte [ ] data = IDENT_16 . METHOD_11 ( METHOD_15 ( child ) , null ) ; if ( data != null ) { org . apache . accumulo . server . security . IDENT_0 . METHOD_2 key = new org . apache . accumulo . server . security . IDENT_0 . METHOD_2 ( ) ; try { key . METHOD_16 ( new java . io . METHOD_17 ( new java . io . ByteArrayInputStream ( data ) ) ) ; } catch ( java . io . IOException e ) { throw new java . lang . METHOD_18 ( STRING_3 , e ) ; } keys . add ( key ) ; } } return keys ; }
org . junit . Assert . assertEquals ( keys , IDENT_2 . METHOD_13 ( ) )