fXmlRpc\Exception\ExceptionTest::testAllExceptionsEitherExtendBasicInvalidArgumentException PHP Метод

testAllExceptionsEitherExtendBasicInvalidArgumentException() публичный Метод

    public function testAllExceptionsEitherExtendBasicInvalidArgumentException($exception)
    {
        $this->assertTrue($exception instanceof RuntimeException || $exception instanceof InvalidArgumentException, 'Exception must be based on fXmlRpc specific RuntimeException or InvalidArgumentException');
    }