METHOD_0 ( ) { java . lang . String [ ] IDENT_0 = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 , STRING_5 } ; java . lang . String [ ] expect = new java . lang . String [ ] { STRING_6 , STRING_7 } ; java . util . List < java . lang . String > IDENT_1 = gov . IDENT_2 . IDENT_3 . model . IDENT_4 . IDENT_5 . METHOD_1 ( java . util . Arrays . asList ( IDENT_0 ) ) ; java . util . Collections . METHOD_2 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . List ) { java . util . List < java . lang . String > IDENT_6 = new java . util . ArrayList < java . lang . String > ( ) ; java . lang . String IDENT_7 = IDENT_0 . get ( ( ( IDENT_0 . size ( ) ) - 1 ) ) . split ( "/" ) [ 0 ] ; for ( int i = ( IDENT_0 . size ( ) ) - 1 ; i > 0 ; i OP_0 ) { java . lang . String [ ] nodes = IDENT_0 . get ( i ) . split ( "/" ) ; if ( ! ( nodes [ 0 ] . equals ( IDENT_7 ) ) ) { break ; } IDENT_6 . add ( nodes [ ( ( nodes . length ) - 1 ) ] ) ; } return IDENT_6 ; }
org . junit . Assert . assertEquals ( java . util . Arrays . asList ( expect ) , IDENT_1 )