* @license MIT * * @covers \ProxyManager\Exception\DisabledMethodException * @group Coverage */ class DisabledMethodExceptionTest extends PHPUnit_Framework_TestCase { /** * @covers \ProxyManager\Exception\DisabledMethodException::disabledMethod */ public function testProxyDirectoryNotFound() { $exception = DisabledMethodException::disabledMethod('foo::bar'); $this->assertSame('Method "foo::bar" is forcefully disabled', $exception->getMessage()); } }