METHOD_0 ( ) { java . lang . String html = STRING_0 ; java . lang . String expected = STRING_1 ; org . nuxeo . ecm . platform . IDENT_0 . IDENT_1 service = org . nuxeo . runtime . api . IDENT_2 . METHOD_1 ( org . nuxeo . ecm . platform . IDENT_0 . IDENT_1 . class ) ; java . lang . String res = service . METHOD_2 ( html , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String , java . lang . String ) { if ( ( policy ) == null ) { org . nuxeo . ecm . platform . IDENT_0 . IDENT_3 . log . error ( STRING_2 ) ; return string ; } return policy . METHOD_3 ( string ) ; }
org . junit . Assert . assertEquals ( expected , res )