Author: Thomas Müller (t_mueller_stolzenhain@yahoo.de)
Inheritance: implements Browscap\Filter\FilterInterface
コード例 #1
0
 /**
  * tests if a section is always in the output, if the lite flag is true
  *
  * @group filter
  * @group sourcetest
  */
 public function testIsOutputSectionOnlyWhenLite()
 {
     $this->assertFalse($this->object->isOutputSection(array()));
     $this->assertFalse($this->object->isOutputSection(array('lite' => false)));
     $this->assertTrue($this->object->isOutputSection(array('lite' => true)));
 }