Skip to content

Commit 60417c0

Browse files
committed
add unit test method
1 parent 6c22d73 commit 60417c0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/DomDocumentHandlerTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ public function testGetElementsByName()
104104
$this->assertContainsOnlyInstancesOf('\WsdlToPhp\DomHandler\ElementHandler', $instance->getElementsByName('element'));
105105
$this->assertEmpty($instance->getElementsByName('foo'));
106106
}
107+
/**
108+
*
109+
*/
110+
public function testGetElementByNameIsNull()
111+
{
112+
$instance = self::bingInstance();
113+
114+
$this->assertNull($instance->getElementByName('foo'));
115+
}
107116
/**
108117
*
109118
*/

0 commit comments

Comments
 (0)