100% of 37OPs |
100% of 3Lines |
100% of 2Branches |
100% of 2Paths |
| Method | OPs | OPs % | Lines | Line % | Branches | Branches % | Paths | Path % |
|---|---|---|---|---|---|---|---|---|
| mageekguy\atoum\asserters\testedClass::setWith() | 14 | 100% | 1 | 100% | 1 | 100% | 1 | 100% |
| mageekguy\atoum\asserters\testedClass::setWithTest() | 23 | 100% | 2 | 100% | 1 | 100% | 1 | 100% |
| # | |
|---|---|
| 1 |
<?php |
| 2 |
|
| 3 |
namespace mageekguy\atoum\asserters; |
| 4 |
|
| 5 |
use |
| 6 |
mageekguy\atoum, |
| 7 |
mageekguy\atoum\asserter, |
| 8 |
mageekguy\atoum\asserters, |
| 9 |
mageekguy\atoum\exceptions |
| 10 |
; |
| 11 |
|
| 12 |
class testedClass extends asserters\phpClass |
| 13 |
{
|
| 14 |
public function setWith($class)100% |
| 15 |
{
|
| 16 |
throw new exceptions\logic\badMethodCall('Unable to call method ' . __METHOD__ . '()');
|
| 17 |
} |
| 18 |
|
| 19 |
public function setWithTest(atoum\test $test)100% |
| 20 |
{
|
| 21 |
parent::setWith($test->getTestedClassName()); |
| 22 |
|
| 23 |
return parent::setWithTest($test); |
| 24 |
} |
| 25 |
} |