Esempio n. 1
0
 /**
  * Get style null
  */
 public function testStyleNull()
 {
     $oTitle = new Title('text');
     $this->assertEquals($oTitle->getStyle(), null);
 }
Esempio n. 2
0
 /**
  * Get style null
  */
 public function testStyleNull()
 {
     $oTitle = new Title(htmlspecialchars('text', ENT_COMPAT, 'UTF-8'));
     $this->assertNull($oTitle->getStyle());
 }
Esempio n. 3
0
 /**
  * Get style not null
  */
 public function testStyleNotNull()
 {
     $oTitle = new Title('text', 1, 'style');
     $this->assertEquals($oTitle->getStyle(), 'style');
 }