/** * @test */ public function shouldNotMatchOthersThenCapturedStatus() { $statusRequest = new GetHumanStatus(new \stdClass()); $statusRequest->markCaptured(); $this->assertTrue($statusRequest->isCaptured()); $this->assertFalse($statusRequest->isCanceled()); $this->assertFalse($statusRequest->isSuspended()); $this->assertFalse($statusRequest->isAuthorized()); $this->assertFalse($statusRequest->isRefunded()); $this->assertFalse($statusRequest->isExpired()); $this->assertFalse($statusRequest->isPending()); $this->assertFalse($statusRequest->isFailed()); $this->assertFalse($statusRequest->isNew()); $this->assertFalse($statusRequest->isUnknown()); }