json-schema/tests/Exception/InvalidArgumentExceptionTest.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);
}
}