METHOD_0 ( ) { com . IDENT_0 . mockito . IDENT_1 . IDENT_2 IDENT_3 = mock ( com . IDENT_0 . mockito . IDENT_1 . IDENT_2 . class ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( new int [ ] { INT_0 , 15 , 3 } ) ; com . IDENT_0 . mockito . IDENT_1 . IDENT_4 IDENT_5 = new com . IDENT_0 . mockito . IDENT_1 . METHOD_2 ( IDENT_3 ) ; int result = IDENT_5 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { int [ ] data = IDENT_6 . METHOD_1 ( ) ; int IDENT_7 = Integer . IDENT_8 ; for ( int value : data ) { if ( value > IDENT_7 ) { IDENT_7 = value ; } } return IDENT_7 ; }
org . junit . Assert . assertEquals ( INT_0 , result )