[CHANGED] Added annotations to StyleTest and performed minor refactoring.

This commit is contained in:
Roman Syroeshko 2014-06-20 09:00:12 +04:00
parent c11df2e426
commit d35db836dc
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class StyleTest extends \PHPUnit_Framework_TestCase
Style::addTableStyle('Table', $table);
Style::setDefaultParagraphStyle($paragraph);
$this->assertEquals(count($styles), Style::countStyles());
$this->assertCount(count($styles), Style::getStyles());
foreach ($styles as $name => $style) {
$this->assertInstanceOf("PhpOffice\\PhpWord\\Style\\{$style}", Style::getStyle($name));
}