METHOD_0 ( ) { org . springframework . batch . admin . service . IDENT_0 info = new org . springframework . batch . admin . service . METHOD_1 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { if ( path . matches ( org . springframework . batch . admin . service . METHOD_1 . IDENT_1 ) ) { return path ; } java . lang . String extension = org . springframework . util . StringUtils . METHOD_3 ( path ) ; java . lang . String IDENT_2 = ( extension == null ) ? path : path . substring ( 0 , ( ( ( path . length ( ) ) - ( extension . length ( ) ) ) - 1 ) ) ; if ( IDENT_2 . matches ( org . springframework . batch . admin . service . METHOD_1 . IDENT_1 ) ) { return path ; } return ( IDENT_2 + STRING_1 ) + ( extension == null ? "" : STRING_2 + extension ) ; }
org . junit . Assert . assertEquals ( STRING_0 , info . METHOD_2 ( ) )