Esempio n. 1
0
 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());
 }
Esempio n. 2
0
 public function testisAdminAreaTheme()
 {
     $theme = new \Box\Mod\Theme\Model\Theme($this->existingTheme);
     $result = $theme->isAdminAreaTheme();
     $this->assertInternalType('bool', $result);
 }