/** {@inheritdoc} */ protected function setUp() { $this->guzzle = $this->prophesize(GuzzleInterface::class); $this->client = new HttpClient($this->guzzle->reveal(), 'localhost', '4333', 'user', 'password'); }
public function setUp() { $this->client = $this->prophesize(Client::class); $this->cardValidator = new CardValidator($this->client->reveal()); }