public function testThrowsExceptionWithInvalidCredentialsFetcher() { $credentialsFetcher = new \stdClass(); $requestWrapper = new RequestWrapper(['credentialsFetcher' => $credentialsFetcher]); }