예제 #1
0
파일: TitleTest.php 프로젝트: hcvcastro/pxp
 /**
  * Get style null
  */
 public function testStyleNull()
 {
     $oTitle = new Title('text');
     $this->assertEquals($oTitle->getStyle(), null);
 }
예제 #2
0
 /**
  * Get style null
  */
 public function testStyleNull()
 {
     $oTitle = new Title(htmlspecialchars('text', ENT_COMPAT, 'UTF-8'));
     $this->assertNull($oTitle->getStyle());
 }
예제 #3
0
 /**
  * Get style not null
  */
 public function testStyleNotNull()
 {
     $oTitle = new Title('text', 1, 'style');
     $this->assertEquals($oTitle->getStyle(), 'style');
 }