METHOD_0 ( ) { ch . IDENT_0 . itc . mobiliar . rest . IDENT_1 . IDENT_2 IDENT_3 = new ch . IDENT_0 . itc . mobiliar . rest . IDENT_1 . METHOD_1 ( 1 , STRING_0 , null , ch . puzzle . itc . mobiliar . business . security . entity . IDENT_4 . IDENT_5 , 8 , null , null , null , null ) ; METHOD_2 ( new ch . puzzle . itc . mobiliar . common . exception . METHOD_3 ( STRING_1 ) ) . when ( rest . IDENT_6 ) . METHOD_4 ( 1 , STRING_0 , null , ch . puzzle . itc . mobiliar . business . security . entity . IDENT_4 . IDENT_5 . name ( ) , 8 , null , null , null , null , true ) ; javax . ws . rs . core . Response response = rest . METHOD_4 ( 1 , IDENT_3 , true ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( java . lang . Integer , ch . IDENT_0 . itc . mobiliar . rest . IDENT_1 . METHOD_1 , boolean ) { boolean IDENT_7 ; try { IDENT_7 = IDENT_6 . METHOD_4 ( id , request . METHOD_5 ( ) , request . METHOD_6 ( ) , request . METHOD_7 ( ) . getName ( ) , request . METHOD_8 ( ) , request . METHOD_9 ( ) , request . METHOD_10 ( ) , request . METHOD_11 ( ) , request . METHOD_12 ( ) , IDENT_8 ) ; } catch ( ch . puzzle . itc . mobiliar . common . exception . METHOD_3 e ) { return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . IDENT_9 . IDENT_10 ) . entity ( new ch . IDENT_0 . itc . mobiliar . rest . exceptions . METHOD_13 ( e . getMessage ( ) ) ) . build ( ) ; } if ( ! IDENT_7 ) { return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . IDENT_9 . IDENT_11 ) . entity ( new ch . IDENT_0 . itc . mobiliar . rest . exceptions . METHOD_13 ( STRING_2 ) ) . build ( ) ; } return javax . ws . rs . core . Response . status ( ch . IDENT_0 . itc . mobiliar . rest . IDENT_9 . IDENT_12 ) . build ( ) ; }
org . junit . Assert . assertEquals ( ch . IDENT_0 . itc . mobiliar . rest . IDENT_9 . IDENT_10 . getStatusCode ( ) , response . getStatus ( ) )