Improve unit test
This commit is contained in:
parent
b8346af548
commit
cb7ffd0ac2
@ -225,4 +225,13 @@ class PhpWordTest extends \PHPUnit\Framework\TestCase
|
|||||||
$this->assertEquals(2, $phpWord->getSection(0)->countElements());
|
$this->assertEquals(2, $phpWord->getSection(0)->countElements());
|
||||||
$this->assertEquals(1, $phpWord->getSection(1)->countElements());
|
$this->assertEquals(1, $phpWord->getSection(1)->countElements());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @covers \PhpOffice\PhpWord\PhpWord::getSettings
|
||||||
|
*/
|
||||||
|
public function testGetSettings()
|
||||||
|
{
|
||||||
|
$phpWord = new PhpWord();
|
||||||
|
$this->assertInstanceOf('PhpOffice\\PhpWord\\Metadata\\Settings', $phpWord->getSettings());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user