| @@ 746-753 (lines=8) @@ | ||
| 743 | ), $rs->getValues()); |
|
| 744 | } |
|
| 745 | ||
| 746 | public function testDiffThrowsInvalidArgumentException() |
|
| 747 | { |
|
| 748 | $set1 = new EnumSet('MabeEnumTest\TestAsset\EnumBasic'); |
|
| 749 | $set2 = new EnumSet('MabeEnumTest\TestAsset\Enum32'); |
|
| 750 | ||
| 751 | $this->setExpectedException('InvalidArgumentException'); |
|
| 752 | $set1->diff($set2); |
|
| 753 | } |
|
| 754 | ||
| 755 | public function testSymDiff() |
|
| 756 | { |
|
| @@ 780-787 (lines=8) @@ | ||
| 777 | ), $rs->getValues()); |
|
| 778 | } |
|
| 779 | ||
| 780 | public function testSymDiffThrowsInvalidArgumentException() |
|
| 781 | { |
|
| 782 | $set1 = new EnumSet('MabeEnumTest\TestAsset\EnumBasic'); |
|
| 783 | $set2 = new EnumSet('MabeEnumTest\TestAsset\Enum32'); |
|
| 784 | ||
| 785 | $this->setExpectedException('InvalidArgumentException'); |
|
| 786 | $set1->symDiff($set2); |
|
| 787 | } |
|
| 788 | } |
|
| 789 | ||