Created
September 20, 2016 22:50
-
-
Save da-n/d05cf8a0130163047afc2e23dd47c087 to your computer and use it in GitHub Desktop.
Set PHPUnit to expect an exception
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->setExpectedException('Exception'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment