You are here

public function ReaderTest::testTooManyConstructorArgs in Smart IP 6.2

Same name and namespace in other branches
  1. 7.2 includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/ReaderTest.php \MaxMind\Db\Test\Reader\ReaderTest::testTooManyConstructorArgs()

@expectedException InvalidArgumentException @expectedExceptionMessage The constructor takes exactly one argument.

File

includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/ReaderTest.php, line 181

Class

ReaderTest

Namespace

MaxMind\Db\Test\Reader

Code

public function testTooManyConstructorArgs() {
  new Reader('README.md', 1);
}