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