/** * @test */ public function shouldNotMatchOthersThenSuccessStatus() { $statusRequest = new GetHumanStatus(new \stdClass()); $statusRequest->markSuccess(); $this->assertTrue($statusRequest->isSuccess()); $this->assertFalse($statusRequest->isCanceled()); $this->assertFalse($statusRequest->isSuspended()); $this->assertFalse($statusRequest->isExpired()); $this->assertFalse($statusRequest->isPending()); $this->assertFalse($statusRequest->isFailed()); $this->assertFalse($statusRequest->isNew()); $this->assertFalse($statusRequest->isUnknown()); }