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