Example #1
0
 public function testGetEmail()
 {
     $email = '*****@*****.**';
     $order = new Order();
     $this->assertEmpty($order->getEmail());
     $accountUser = new AccountUser();
     $accountUser->setEmail($email);
     $order->setAccountUser($accountUser);
     $this->assertEquals($email, $order->getEmail());
 }