METHOD_0 ( ) { expect ( IDENT_0 . METHOD_1 ( ) ) . andReturn ( INT_0 ) ; expect ( IDENT_0 . METHOD_1 ( ) ) . andReturn ( INT_1 ) ; replay ( IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) ; } METHOD_2 ( ) { long start = IDENT_1 . METHOD_1 ( ) ; long end ; while ( ( end = IDENT_1 . METHOD_1 ( ) ) == start ) ; return METHOD_3 ( start , end ) ; }
org . junit . Assert . assertEquals ( 1L , impl . METHOD_2 ( ) )