HTTP mock Getting started with HTTP Mock and PHPUnit The stubbing API explained aka "listening for requests and faking HTTP responses" The recording API explain aka "accessing recorded request data for assertions"