public function ReaderTest::testClosedGet in Smart IP 6.2
Same name and namespace in other branches
- 7.2 includes/vendor/maxmind-db/reader/tests/MaxMind/Db/Test/ReaderTest.php \MaxMind\Db\Test\Reader\ReaderTest::testClosedGet()
@expectedException BadMethodCallException @expectedExceptionMessage Attempt to read from a closed MaxMind DB.
File
- includes/
vendor/ maxmind-db/ reader/ tests/ MaxMind/ Db/ Test/ ReaderTest.php, line 266
Class
Namespace
MaxMind\Db\Test\ReaderCode
public function testClosedGet() {
$reader = new Reader('tests/data/test-data/MaxMind-DB-test-decoder.mmdb');
$reader
->close();
$reader
->get('1.1.1.1');
}