/**
* Test constructor.
*
* @covers Application\Sonata\UserBundle\Entity\User::__construct()
*/
public function testConstruct()
{
$this->object = new UserEntity();
$this->assertNull($this->object->getId());
$this->assertInstanceOf('Doctrine\\Common\\Collections\\ArrayCollection', $this->object->getOwnedAnnuaires());
$this->assertEquals(0, $this->object->getOwnedAnnuaires()->count());
$this->assertInstanceOf('Doctrine\\Common\\Collections\\ArrayCollection', $this->object->getOwnedSites());
$this->assertEquals(0, $this->object->getOwnedSites()->count());
}