METHOD_0 ( ) { final java . lang . String IDENT_0 = IDENT_1 . IDENT_2 . resources . impl . IDENT_3 . rest . IDENT_4 . METHOD_1 ( IDENT_5 , IDENT_6 ) ; when ( IDENT_7 . METHOD_2 ( eq ( IDENT_5 ) , eq ( IDENT_6 ) ) ) . METHOD_3 ( ( IDENT_8 ) -> null ) ; when ( IDENT_9 . get ( eq ( IDENT_0 ) ) ) . METHOD_4 ( ( IDENT_8 ) -> null ) ; IDENT_1 . IDENT_2 . models . IDENT_10 actual = null ; try { actual = IDENT_11 . METHOD_2 ( IDENT_5 , IDENT_6 ) ; } catch ( java . lang . Exception e ) { if ( ! ( e instanceof javax . ws . rs . IDENT_12 ) ) { org . junit . Assert . fail ( ) ; } } "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_9 , times ( 1 ) ) . get ( eq ( IDENT_0 ) ) ; org . mockito . Mockito . verify ( IDENT_7 , times ( 1 ) ) . METHOD_2 ( eq ( IDENT_5 ) , eq ( IDENT_6 ) ) ; org . mockito . Mockito . verify ( IDENT_9 , METHOD_5 ( ) ) . put ( eq ( IDENT_0 ) , any ( ) ) ; } METHOD_2 ( java . lang . String , java . lang . String ) { try { java . lang . String IDENT_0 = IDENT_1 . IDENT_2 . resources . impl . IDENT_3 . rest . IDENT_4 . METHOD_1 ( IDENT_5 , IDENT_6 ) ; IDENT_1 . IDENT_2 . models . IDENT_10 IDENT_13 = IDENT_9 . get ( IDENT_0 ) ; if ( IDENT_13 == null ) { IDENT_13 = IDENT_7 . METHOD_2 ( IDENT_5 , IDENT_6 ) ; if ( IDENT_13 != null ) { IDENT_9 . put ( IDENT_0 , IDENT_13 ) ; } } if ( IDENT_13 == null ) { java . lang . String message = STRING_0 ; message = java . lang . String . format ( message , IDENT_5 , IDENT_6 ) ; throw new javax . ws . rs . METHOD_6 ( message ) ; } return IDENT_13 ; } catch ( IDENT_1 . IDENT_2 . persistence . IDENT_14 e ) { log . error ( e . METHOD_7 ( ) , e ) ; throw new javax . ws . rs . METHOD_8 ( e . METHOD_7 ( ) ) ; } }
org . junit . Assert . assertNull ( actual )