Esempio n. 1
0
 /** @test */
 public function TestThemeStackingExplicitString()
 {
     $surface = new Nether\Surface();
     $stack = $surface->GetThemeStack('zomg:bbq');
     $this->AssertTrue(is_array($stack) && count($stack) === 4, 'check that we got a stack array of four in this case');
     $this->AssertTrue($stack[0] === 'zomg');
     $this->AssertTrue($stack[1] === 'bbq');
     $this->AssertTrue($stack[2] === 'testing');
     $this->AssertTrue($stack[3] === 'common');
     return;
 }