/** * @return array */ public function getMotionThemes() { return $this->repository->getMotionThemes(); }
public function testGetMotionThemes() { $motionThemes = $this->repository->getMotionThemes(); $this->assertCount(3, $motionThemes); $this->assertEquals(['id' => '1', 'label' => 'motion_themes.constitutional', 'duration' => '8'], $motionThemes[0]); }