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 testisAdminAreaTheme() { $theme = new \Box\Mod\Theme\Model\Theme($this->existingTheme); $result = $theme->isAdminAreaTheme(); $this->assertInternalType('bool', $result); }