mirror of
https://github.com/justinrainbow/json-schema.git
synced 2025-05-02 20:42:13 +02:00
16 lines
435 B
PHP
16 lines
435 B
PHP
<?php
|
|
|
|
namespace JsonSchema\Tests\Exception;
|
|
|
|
use JsonSchema\Exception\InvalidArgumentException;
|
|
|
|
class InvalidArgumentExceptionTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
public function testHierarchy()
|
|
{
|
|
$exception = new InvalidArgumentException();
|
|
self::assertInstanceOf('\InvalidArgumentException', $exception);
|
|
self::assertInstanceOf('\JsonSchema\Exception\ExceptionInterface', $exception);
|
|
}
|
|
}
|