|
@@ 59-62 (lines=4) @@
|
| 56 |
|
$children = $xml->children(); |
| 57 |
|
//Verify Method Arguments |
| 58 |
|
//Invert Children and Arguments because Children is not Array Iterable... |
| 59 |
|
foreach ($children as $key => $value) { |
| 60 |
|
$this->assertArrayHasKey($key, $arguments, 'Argument Does Not Exist'); |
| 61 |
|
$this->assertEquals($value, $arguments[$key], 'Invalid Argument'); |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
codecept_debug($xml->asXML()); |
| 65 |
|
} |
|
@@ 93-96 (lines=4) @@
|
| 90 |
|
$children = $xml->Call->children(); |
| 91 |
|
//Verify Method Arguments |
| 92 |
|
//Invert Children and Arguments because Children is not Array Iterable... |
| 93 |
|
foreach ($children as $key => $value) { |
| 94 |
|
$this->assertArrayHasKey($key, $arguments, 'Argument Does Not Exist'); |
| 95 |
|
$this->assertEquals($value, $arguments[$key], 'Invalid Argument'); |
| 96 |
|
} |
| 97 |
|
|
| 98 |
|
codecept_debug($xml->asXML()); |
| 99 |
|
} |