METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . core . common . IDENT_3 [ ] IDENT_4 = new com . IDENT_0 . IDENT_1 . IDENT_2 . core . common . IDENT_3 [ 3 ] ; IDENT_4 [ 0 ] = new com . IDENT_0 . IDENT_1 . IDENT_2 . core . common . METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_2 ( STRING_0 , com . IDENT_0 . IDENT_1 . IDENT_2 . core . IDENT_6 . IDENT_7 . class , IDENT_8 , IDENT_4 ) ; int index = 0 ; org . mockito . Mockito . when ( IDENT_8 . METHOD_3 ( index ) ) . thenReturn ( true ) ; org . mockito . Mockito . METHOD_4 ( ) . when ( IDENT_8 ) . METHOD_5 ( index ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . core . common . METHOD_1 ret = IDENT_8 . METHOD_5 ( index ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( int ) { if ( METHOD_3 ( index ) ) { return IDENT_4 [ index ] ; } else { throw METHOD_6 ( index ) ; } }
org . junit . Assert . assertEquals ( IDENT_4 [ 0 ] , ret )