METHOD_0 ( ) { IDENT_0 . IDENT_1 . models . IDENT_2 expected = new IDENT_0 . IDENT_1 . models . METHOD_1 ( IDENT_3 , IDENT_4 , IDENT_5 . IDENT_6 . IDENT_7 , IDENT_8 , IDENT_9 ) ; javax . ws . rs . core . Response response = IDENT_10 . METHOD_0 ( IDENT_3 , IDENT_4 , expected ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_11 , times ( 1 ) ) . METHOD_0 ( eq ( expected ) ) ; org . mockito . Mockito . verify ( IDENT_12 , times ( 1 ) ) . put ( eq ( IDENT_0 . IDENT_1 . resources . impl . IDENT_13 . rest . IDENT_14 . METHOD_2 ( IDENT_3 , IDENT_4 ) ) , eq ( expected ) ) ; } METHOD_0 ( java . lang . String , java . lang . String , IDENT_0 . IDENT_1 . models . METHOD_1 ) { try { IDENT_11 . METHOD_0 ( IDENT_15 ) ; IDENT_12 . put ( IDENT_0 . IDENT_1 . resources . impl . IDENT_13 . rest . IDENT_14 . METHOD_2 ( IDENT_3 , IDENT_4 ) , IDENT_15 ) ; return javax . ws . rs . core . Response . METHOD_3 ( ) . build ( ) ; } catch ( IDENT_0 . IDENT_1 . persistence . IDENT_16 e ) { throw new javax . ws . rs . METHOD_4 ( e . METHOD_5 ( ) , Response . Status . IDENT_17 ) ; } catch ( IDENT_0 . IDENT_1 . persistence . IDENT_16 e ) { log . error ( e . METHOD_5 ( ) , e ) ; throw new javax . ws . rs . METHOD_6 ( e . METHOD_5 ( ) ) ; } }
org . junit . Assert . assertEquals ( 200 , response . getStatus ( ) )