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