public function __construct() { parent::__construct(); }
public function testToStringWithName() { // Given $user = new BaseUser(); $user->setUsername('John'); // When $string = (string) $user; // Then $this->assertEquals('John', $string, 'Should return the username as string representation'); }
public function __construct() { $this->groups = new \Doctrine\Common\Collections\ArrayCollection(); parent::__construct(); }