METHOD_0 ( ) { ch . IDENT_0 . itc . mobiliar . rest . resources . IDENT_1 IDENT_2 = new ch . IDENT_0 . itc . mobiliar . rest . resources . METHOD_1 ( ) ; IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_2 . METHOD_3 ( "" ) ; javax . ws . rs . core . Response response = rest . METHOD_4 ( IDENT_2 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ch . IDENT_0 . itc . mobiliar . rest . resources . METHOD_1 , java . lang . String ) { ch . puzzle . itc . mobiliar . business . IDENT_3 . control . IDENT_4 IDENT_5 ; if ( org . apache . commons . lang . StringUtils . isEmpty ( request . METHOD_5 ( ) ) ) { return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . resources . IDENT_6 ) . entity ( new ch . IDENT_0 . itc . mobiliar . rest . exceptions . METHOD_6 ( STRING_2 ) ) . build ( ) ; } if ( org . apache . commons . lang . StringUtils . isEmpty ( request . METHOD_7 ( ) ) ) { return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . resources . IDENT_6 ) . entity ( new ch . IDENT_0 . itc . mobiliar . rest . exceptions . METHOD_6 ( STRING_3 ) ) . build ( ) ; } try { IDENT_5 = IDENT_7 . METHOD_8 ( IDENT_8 , request . METHOD_5 ( ) , request . METHOD_7 ( ) , ch . puzzle . itc . mobiliar . business . IDENT_9 . entity . IDENT_10 . METHOD_9 ( ) ) ; } catch ( ch . puzzle . itc . mobiliar . business . IDENT_9 . entity . IDENT_11 | ch . puzzle . itc . mobiliar . common . exception . IDENT_12 e ) { return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . resources . IDENT_6 ) . entity ( new ch . IDENT_0 . itc . mobiliar . rest . exceptions . METHOD_6 ( e . getMessage ( ) ) ) . build ( ) ; } if ( ! ( IDENT_5 . METHOD_10 ( ) ) ) { return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . resources . IDENT_6 ) . entity ( new ch . IDENT_0 . itc . mobiliar . rest . exceptions . METHOD_6 ( STRING_4 ) ) . build ( ) ; } return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . resources . IDENT_13 ) . header ( STRING_5 , ( ( ( STRING_6 + ( IDENT_5 . METHOD_11 ( ) ) ) + "/" ) + ( request . METHOD_5 ( ) ) ) ) . build ( ) ; }
org . junit . Assert . assertEquals ( javax . ws . rs . core . Response . Status . IDENT_6 . getStatusCode ( ) , response . getStatus ( ) )