| @@ 763-770 (lines=8) @@ | ||
| 760 | ), $rs->getValues()); |
|
| 761 | } |
|
| 762 | ||
| 763 | public function testDiffThrowsInvalidArgumentException() |
|
| 764 | { |
|
| 765 | $set1 = new EnumSet('MabeEnumTest\TestAsset\EnumBasic'); |
|
| 766 | $set2 = new EnumSet('MabeEnumTest\TestAsset\Enum32'); |
|
| 767 | ||
| 768 | $this->setExpectedException('InvalidArgumentException'); |
|
| 769 | $set1->diff($set2); |
|
| 770 | } |
|
| 771 | ||
| 772 | public function testSymDiff() |
|
| 773 | { |
|
| @@ 797-804 (lines=8) @@ | ||
| 794 | ), $rs->getValues()); |
|
| 795 | } |
|
| 796 | ||
| 797 | public function testSymDiffThrowsInvalidArgumentException() |
|
| 798 | { |
|
| 799 | $set1 = new EnumSet('MabeEnumTest\TestAsset\EnumBasic'); |
|
| 800 | $set2 = new EnumSet('MabeEnumTest\TestAsset\Enum32'); |
|
| 801 | ||
| 802 | $this->setExpectedException('InvalidArgumentException'); |
|
| 803 | $set1->symDiff($set2); |
|
| 804 | } |
|
| 805 | } |
|
| 806 | ||