Since the example given in the article is an integration test, it does not prevent using an HTTP replay server to simulate making real calls to the service within end-to-end tests.
I think the author even linked to some of his favorite examples for using an HTTP test server to replay responses to requests.