This should check the inverse, and throw an `\InvalidArgumentException` on failure. Use [@expectedException](http://www.phpunit.de/manual/3.6/en/writing-tests-for-phpunit.html#writing-tests-for-phpunit.exceptions.examples.ExceptionTest.php) annotation for this in PHPUnit.