public function testSort() { $valueEntity = new Value(); $sort = 'Some Sort'; $expected = $sort; $valueEntity->setSort($sort); $actual = $valueEntity->getSort(); $this->assertSame($expected, $actual); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->nested = new ArrayCollection(); $this->allowedTemplates = new ArrayCollection(); }
/** * Constructor */ public function __construct() { parent::__construct(); $now = new \DateTime(); $this->setValue($now); }
/** * Constructor */ public function __construct() { parent::__construct(); $this->medias = new ArrayCollection(); }