Esempio n. 1
0
 /**
  * @coversNothing
  */
 public function testLoadVoid()
 {
     $user = new User();
     $profile = $user->getProfile();
     $this->assertInstanceof('Harp\\Harp\\Test\\TestModel\\Profile', $profile);
     $this->assertTrue($profile->isVoid());
     $profile = new Profile();
     $user = $profile->getUser();
     $this->assertInstanceof('Harp\\Harp\\Test\\TestModel\\User', $user);
     $this->assertTrue($user->isVoid());
 }