| 1 | <?php |
||
| 11 | class IpNetCalcTest extends \PHPUnit_Framework_TestCase |
||
| 12 | { |
||
| 13 | /** @var IpNetCalc */ |
||
| 14 | protected $class; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Dataprovider for Test |
||
| 18 | * @return array |
||
| 19 | */ |
||
| 20 | public function dpCalcNetSum() |
||
| 28 | |||
| 29 | /** |
||
| 30 | * |
||
| 31 | */ |
||
| 32 | public function setup() |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @dataProvider dpCalcNetSum |
||
| 39 | * @param $data |
||
| 40 | * @param $expected |
||
| 41 | */ |
||
| 42 | public function testCalcNetSum($data, $expected) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @expectedException \InvalidArgumentException |
||
| 49 | */ |
||
| 50 | public function testCalcNetSumException() { |
||
| 53 | } |
||
| 54 |