METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . core . IDENT_2 subject = METHOD_1 ( ) ; final org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_4 IDENT_5 = mock ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_4 . class ) ; final org . IDENT_0 . IDENT_1 . core . IDENT_6 IDENT_7 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . core . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_8 . class ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_4 . class ) ; final org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_8 IDENT_9 = mock ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_8 . class ) ; when ( IDENT_7 . newInstance ( IDENT_5 ) ) . thenReturn ( IDENT_9 ) ; final org . IDENT_0 . IDENT_1 . core . IDENT_6 IDENT_10 = org . mockito . Mockito . mock ( org . IDENT_0 . IDENT_1 . core . IDENT_6 . class ) ; when ( IDENT_10 . METHOD_2 ( ) ) . thenReturn ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_11 . class ) ; when ( IDENT_10 . METHOD_3 ( ) ) . thenReturn ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_8 . class ) ; final org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_11 IDENT_12 = mock ( org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_11 . class ) ; when ( IDENT_10 . newInstance ( IDENT_9 ) ) . thenReturn ( IDENT_12 ) ; subject . METHOD_4 ( IDENT_7 ) ; subject . METHOD_4 ( IDENT_10 ) ; subject . init ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 , times ( 1 ) ) . newInstance ( IDENT_5 ) ; verify ( IDENT_10 , times ( 1 ) ) . newInstance ( IDENT_9 ) ; } METHOD_5 ( java . lang . Object , java . lang . Class , org . IDENT_0 . IDENT_1 . core . Class [ ] ) { if ( target == null ) target = org . IDENT_0 . IDENT_1 . core . IDENT_13 . METHOD_6 ( ) ; return org . IDENT_0 . IDENT_1 . core . IDENT_13 . impl . METHOD_5 ( target , IDENT_14 , IDENT_15 ) ; }
org . junit . Assert . assertEquals ( IDENT_12 , subject . METHOD_5 ( IDENT_5 , org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_11 . class , org . IDENT_0 . IDENT_1 . core . IDENT_3 . IDENT_8 . class ) )