writeDocPropsApp(); } /** * Test write docProps/core.xml with no PhpWord * * @expectedException \PhpOffice\PhpWord\Exception\Exception * @expectedExceptionMessage No PhpWord assigned. */ public function testWriteDocPropsCoreNoPhpWord() { $object = new DocProps(); $object->writeDocPropsCore(); } }