METHOD_0 ( ) { org . apache . IDENT_0 . view . IDENT_1 IDENT_2 = METHOD_1 ( ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_2 ( org . mockito . Mockito . anyString ( ) , ( ( org . apache . IDENT_0 . common . IDENT_4 ) ( org . mockito . Mockito . any ( ) ) ) ) ) . METHOD_3 ( new javax . ws . rs . METHOD_4 ( ) ) ; IDENT_5 . expect ( javax . ws . rs . METHOD_4 . class ) ; org . apache . IDENT_0 . view . IDENT_1 IDENT_6 = IDENT_7 . METHOD_5 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_8 ) . METHOD_5 ( IDENT_2 ) ; org . mockito . Mockito . verify ( IDENT_9 ) . METHOD_6 ( null ) ; org . mockito . Mockito . verify ( IDENT_3 . METHOD_2 ( org . mockito . Mockito . anyString ( ) , ( ( org . apache . IDENT_0 . common . IDENT_4 ) ( org . mockito . Mockito . any ( ) ) ) ) ) ; } METHOD_5 ( org . apache . IDENT_0 . rest . IDENT_1 ) { org . apache . IDENT_0 . rest . IDENT_1 IDENT_10 = null ; if ( IDENT_11 != null ) { if ( ( IDENT_9 . METHOD_6 ( IDENT_11 . METHOD_7 ( ) ) ) == null ) { throw IDENT_3 . METHOD_2 ( ( STRING_0 + ( IDENT_11 . METHOD_7 ( ) ) ) , IDENT_4 . IDENT_12 ) ; } else { IDENT_10 = IDENT_8 . METHOD_5 ( IDENT_11 ) ; } } return IDENT_10 ; }
org . junit . Assert . assertNull ( IDENT_6 )