| 1 | <?php |
||
| 5 | use Brownie\Util\Exception\UndefinedMethodException; |
||
| 6 | |||
| 7 | class UndefinedMethodExceptionTest extends \PHPUnit_Framework_TestCase |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @expectedException \Brownie\Util\Exception\UndefinedMethodException |
||
| 12 | */ |
||
| 13 | public function testException() |
||
| 14 | { |
||
| 15 | throw new UndefinedMethodException('Test'); |
||
| 16 | } |
||
| 18 |