public function testToArray() { $entity = new ThemeEntity(TestTheme::getId(), TestTheme::class); $this->assertEquals(['id' => 'theme/test@theme', 'title' => 'Test Theme', 'class' => 'Xpressengine\\Tests\\Theme\\TestTheme', 'description' => 'blur~~ blur~~', 'screenshot' => 'screenshot'], $entity->toArray()); }
public function testGetEditFiles() { $theme = new TestTheme(); $this->assertEquals(['foo'], $theme->getEditFiles()); }