METHOD_0 ( ) { org . apache . IDENT_0 . entity . IDENT_1 IDENT_2 = null ; org . apache . IDENT_0 . db . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . IDENT_0 . db . IDENT_3 . class ) ; org . mockito . Mockito . when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_2 ( IDENT_6 ) ) . thenReturn ( IDENT_2 ) ; org . apache . IDENT_0 . plugin . model . IDENT_7 result = IDENT_8 . METHOD_3 ( IDENT_6 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_5 ) . METHOD_1 ( ) ; org . mockito . Mockito . verify ( IDENT_4 ) . METHOD_2 ( IDENT_6 ) ; } METHOD_3 ( java . lang . String ) { if ( org . apache . IDENT_0 . rest . IDENT_9 . LOG . METHOD_4 ( ) ) { org . apache . IDENT_0 . rest . IDENT_9 . LOG . debug ( ( ( STRING_0 + IDENT_6 ) + STRING_1 ) ) ; } org . apache . IDENT_0 . plugin . model . IDENT_7 ret ; try { ret = IDENT_10 . METHOD_3 ( IDENT_6 ) ; } catch ( java . lang . Exception IDENT_11 ) { org . apache . IDENT_0 . rest . IDENT_9 . LOG . error ( ( ( STRING_2 + IDENT_6 ) + STRING_3 ) , IDENT_11 ) ; throw IDENT_12 . METHOD_5 ( IDENT_13 . IDENT_14 , IDENT_11 . getMessage ( ) , true ) ; } if ( ret == null ) { throw IDENT_12 . METHOD_5 ( IDENT_13 . IDENT_15 , STRING_4 , true ) ; } if ( org . apache . IDENT_0 . rest . IDENT_9 . LOG . METHOD_4 ( ) ) { org . apache . IDENT_0 . rest . IDENT_9 . LOG . debug ( ( ( ( STRING_5 + IDENT_6 ) + STRING_6 ) + ret ) ) ; } return ret ; }
org . junit . Assert . assertNull ( result )