/** * @return boolean */ public function isCancelled() { return $this->details->getStatus() === static::CANCELLED; }
/** * @test * @depends constructShouldConfigureTheAttributes */ public function getCustomerShouldReturnTheConfiredCustomer() { $this->assertSame($this->customer, $this->details->getCustomer()); }