Open Monograph Press  3.3.0
BadMethodCallExceptionTest.php
1 <?php
2 
4 
5 use Omnipay\Tests\TestCase;
6 
7 class BadMethodCallExceptionTest extends TestCase
8 {
9  public function testConstruct()
10  {
11  $exception = new BadMethodCallException('Oops');
12  $this->assertSame('Oops', $exception->getMessage());
13  }
14 }
Omnipay\Common\Exception\BadMethodCallExceptionTest
Definition: BadMethodCallExceptionTest.php:7
Omnipay\Common\Exception\BadMethodCallExceptionTest\testConstruct
testConstruct()
Definition: BadMethodCallExceptionTest.php:9
Omnipay\Common\Exception\BadMethodCallException
Definition: lib/vendor/omnipay/common/src/Omnipay/Common/Exception/BadMethodCallException.php:8
Omnipay\Common\Exception
Definition: lib/vendor/omnipay/common/src/Omnipay/Common/Exception/BadMethodCallException.php:3