setAlias('foo'); $sut = new DashboardEvent($user); $this->assertEquals($user, $sut->getUser()); $this->assertEquals([], $sut->getSections()); $section = new DashboardSection('foo'); $sut->addSection($section); $this->assertEquals([$section], $sut->getSections()); } }