METHOD_0 ( ) { int expected = 3 ; doReturn ( expected ) . when ( context ) . METHOD_1 ( ) ; int actual = service . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; verify ( context ) . METHOD_1 ( ) ; METHOD_3 ( context ) ; } METHOD_2 ( ) { return context . METHOD_1 ( ) ; }
org . junit . Assert . assertEquals ( expected , actual )