This file contains 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
<?php | |
/** | |
* Generic Exception Support for PHPUnit < v3.7 | |
* | |
* These classes help you test generic exceptions in PHPUnit versions less than | |
* v3.7, avoiding the 'You must not expect the generic exception class' error. | |
* | |
* We create a new exception to represent the generic exception, and provide | |
* multiple ways to incorporate the functionality into your tests: | |
* |