public function testGetEmail() { $quote = new Quote(); $this->assertEmpty($quote->getEmail()); $accountUser = new AccountUser(); $accountUser->setEmail('test'); $quote->setAccountUser($accountUser); $this->assertEquals('test', $quote->getEmail()); }