METHOD_0 ( ) { net . sf . IDENT_0 . common . resource . IDENT_1 target = org . mockito . Mockito . mock ( net . sf . IDENT_0 . common . resource . IDENT_1 . class ) ; org . mockito . Mockito . when ( target . getProperty ( com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_0 . IDENT_5 . IDENT_6 ) ) . thenReturn ( new net . sf . IDENT_0 . common . resource . METHOD_1 ( STRING_0 , STRING_1 ) ) ; com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_0 . IDENT_7 IDENT_8 = new com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_0 . METHOD_2 ( ) ; com . IDENT_2 . IDENT_3 . IDENT_4 . entity . IDENT_9 . Status expResult = IDENT_9 . Status . IDENT_10 ; com . IDENT_2 . IDENT_3 . IDENT_4 . entity . IDENT_9 . Status result = IDENT_8 . METHOD_3 ( new com . IDENT_2 . IDENT_3 . IDENT_4 . entity . METHOD_4 ( ) , target ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . IDENT_2 . IDENT_3 . IDENT_4 . entity . METHOD_4 , net . sf . IDENT_0 . common . resource . IDENT_1 ) { com . IDENT_2 . IDENT_3 . IDENT_4 . entity . IDENT_9 . Status status ; if ( IDENT_11 == null ) { status = null ; } else if ( ( IDENT_12 ) != null ) { status = IDENT_12 ; } else { status = METHOD_5 ( target ) ; } return status ; }
org . junit . Assert . assertEquals ( expResult , result )