/** * Test * * @return void */ public function testGetElements() { $model = Model::fromIdentifier('identifier-collection-test'); $this->object->addElement($model); $this->assertEquals(1, count($this->object->getElements())); }