METHOD_0 ( ) { final int expected = 1 ; final IDENT_0 . dom . IDENT_1 IDENT_2 = mock ( IDENT_0 . dom . IDENT_1 . class ) ; IDENT_2 . IDENT_3 = INT_0 ; doReturn ( IDENT_2 ) . when ( helper ) . METHOD_1 ( ) ; doReturn ( INT_1 ) . when ( helper ) . METHOD_2 ( IDENT_2 ) ; final int actual = helper . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { final int IDENT_4 = ( ( int ) ( METHOD_4 ( METHOD_1 ( ) ) ) ) ; final int IDENT_5 = ( METHOD_2 ( METHOD_1 ( ) ) ) + ( IDENT_4 / 2 ) ; final int IDENT_6 = IDENT_5 / ( IDENT_4 == 0 ? 1 : IDENT_4 ) ; return IDENT_6 ; }
org . junit . Assert . assertEquals ( expected , actual )