Skip to content

Commit b0de8e7

Browse files
authored
Improve unit test
1 parent b8346af commit b0de8e7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/PhpWord/MediaTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,22 @@ public function testGetSectionMediaElementsWithNull()
3434
$this->assertEquals(array(), Media::getElements('section'));
3535
}
3636

37+
/**
38+
* Get header media elements
39+
*/
40+
public function testGetHeaderMediaElementsWithNull()
41+
{
42+
$this->assertEquals(array(), Media::getElements('header'));
43+
}
44+
45+
/**
46+
* Get footer media elements
47+
*/
48+
public function testGetFooterMediaElementsWithNull()
49+
{
50+
$this->assertEquals(array(), Media::getElements('footer'));
51+
}
52+
3753
/**
3854
* Count section media elements
3955
*/

0 commit comments

Comments
 (0)