Verifying the method invocation within the specified time