public function testTypes() { $theme1 = new \Box\Mod\Theme\Model\Theme('boxbilling'); $this->assertFalse($theme1->isAdminAreaTheme()); $theme2 = new \Box\Mod\Theme\Model\Theme('admin_default'); $this->assertTrue($theme2->isAdminAreaTheme()); }
public function testgetPathSettingsDataFile() { $theme = new \Box\Mod\Theme\Model\Theme($this->existingTheme); $result = $theme->getPathSettingsDataFile(); $this->assertInternalType('string', $result); $this->assertTrue(strpos($result, 'settings_data.json') !== false); }