assertInstanceOf('PhpOffice\\PhpWord\\Element\\Title', $oTitle); $this->assertEquals('text', $oTitle->getText()); } /** * Get style null */ public function testStyleNull() { $oTitle = new Title('text'); $this->assertNull($oTitle->getStyle()); } }