METHOD_0 ( ) { IDENT_0 . IDENT_1 . core . route . IDENT_2 handler = new IDENT_0 . IDENT_1 . core . route . METHOD_1 ( ) ; java . net . URL url = handler . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { java . net . URL url = null ; try { java . nio . file . Path IDENT_3 = java . nio . file . IDENT_4 . get ( directory , IDENT_5 ) . METHOD_3 ( ) . METHOD_4 ( ) ; if ( ! ( IDENT_3 . startsWith ( directory ) ) ) { IDENT_0 . IDENT_1 . core . route . IDENT_6 . log . warn ( STRING_1 , IDENT_3 , directory ) ; return null ; } java . io . File file = IDENT_3 . METHOD_5 ( ) ; if ( ( file . exists ( ) ) && ( file . METHOD_6 ( ) ) ) { url = IDENT_3 . METHOD_7 ( ) . METHOD_8 ( ) ; } else { IDENT_0 . IDENT_1 . core . route . IDENT_6 . log . warn ( STRING_2 , IDENT_5 ) ; } } catch ( java . net . IDENT_7 e ) { IDENT_0 . IDENT_1 . core . route . IDENT_6 . log . error ( e . getMessage ( ) , e ) ; } return url ; }
org . junit . Assert . assertNull ( url )