METHOD_0 ( ) { final int IDENT_0 = 20 ; final int IDENT_1 = 10 ; final int expected = IDENT_1 - IDENT_0 ; final IDENT_2 . dom . IDENT_3 IDENT_4 = mock ( IDENT_2 . dom . IDENT_3 . class ) ; IDENT_4 . IDENT_5 = IDENT_1 ; doReturn ( IDENT_0 ) . when ( helper ) . METHOD_1 ( ) ; final int actual = helper . METHOD_2 ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( IDENT_2 . dom . IDENT_3 ) { return ( ( int ) ( event . IDENT_5 ) ) - ( METHOD_1 ( ) ) ; }
org . junit . Assert . assertEquals ( expected , actual )