public function testCreateMockService() { $mockService = Pact::mockService(['port' => 1234, 'consumer' => 'test', 'provider' => 'woo']); $this->assertInstanceOf("Pact\\MockService", $mockService); }
public function testUponReceiving() { $mockService = Pact::mockService(['port' => 1234, 'consumer' => 'test', 'provider' => 'woo']); $this->assertInstanceOf("Pact\\Interaction", $mockService->uponReceiving("a request for an alligator")); }