METHOD_0 ( ) { IDENT_0 . METHOD_1 ( METHOD_2 ( "1" ) ) ; IDENT_0 . METHOD_1 ( METHOD_2 ( "2" ) ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { try { java . util . List < com . IDENT_1 . IDENT_2 . rule . IDENT_3 > rules = this . IDENT_4 . METHOD_4 ( ) ; java . lang . String xml = com . IDENT_1 . IDENT_2 . rule . IDENT_5 . METHOD_5 ( rules ) ; return javax . ws . rs . core . Response . METHOD_6 ( ) . entity ( xml ) . build ( ) ; } catch ( java . lang . Exception ex ) { com . IDENT_1 . IDENT_2 . IDENT_6 . LOG . error ( STRING_0 , ex ) ; return javax . ws . rs . core . Response . METHOD_7 ( ) . entity ( ex . getMessage ( ) ) . build ( ) ; } }
org . junit . Assert . assertThat ( IDENT_0 . METHOD_3 ( ) . size ( ) , org . hamcrest . core . Is . is ( 2 ) )