METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . impl . rest . IDENT_2 parent = com . IDENT_0 . IDENT_1 . utils . IDENT_3 . METHOD_1 ( ) ; parent . METHOD_2 ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . impl . rest . IDENT_2 child = parent . METHOD_3 ( STRING_1 , STRING_2 ) ; com . IDENT_0 . IDENT_1 . impl . rest . IDENT_4 . component . IDENT_5 IDENT_6 = new com . IDENT_0 . IDENT_1 . impl . rest . IDENT_4 . component . METHOD_4 ( child ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( int ) { java . lang . String IDENT_7 = resource . METHOD_6 ( ) . METHOD_7 ( ) ; if ( ( ! ( com . IDENT_0 . IDENT_1 . support . StringUtils . METHOD_8 ( IDENT_7 ) ) ) && ( IDENT_8 <= ( IDENT_7 . length ( ) ) ) ) { return null ; } for ( com . IDENT_0 . IDENT_1 . impl . rest . IDENT_2 r : com . IDENT_0 . IDENT_1 . impl . rest . support . IDENT_9 . METHOD_9 ( resource ) ) { if ( IDENT_8 <= ( r . METHOD_10 ( ) . length ( ) ) ) { return r ; } } return resource ; }
org . junit . Assert . assertThat ( IDENT_6 . METHOD_5 ( 10 ) , org . hamcrest . core . Is . is ( child ) )