BrowscapPHPTest\Exception\InvalidArgumentExceptionTest::testOneOfCommandArguments PHP Method

testOneOfCommandArguments() public method

    public function testOneOfCommandArguments()
    {
        /** @var \BrowscapPHP\Exception\InvalidArgumentException $exception */
        $exception = InvalidArgumentException::oneOfCommandArguments('http://example.org', 'Uri not reachable');
        self::assertInstanceOf('\\BrowscapPHP\\Exception\\InvalidArgumentException', $exception);
        self::assertSame('One of the command arguments "http://example.org", "Uri not reachable" is required', $exception->getMessage());
    }
InvalidArgumentExceptionTest