Overview

Namespaces

  • GeoIp2
    • Database
    • Exception
    • Model
    • Record
    • Test
      • Model
      • WebService
    • WebService
  • MaxMind
    • MinFraud
      • Model
  • None
  • PHP

Classes

  • ClientTest
  • ReaderTest
  • Overview
  • Namespace
  • Class
  • Tree

Class ReaderTest

PHPUnit_Framework_TestCase
Extended by GeoIp2\Test\WebService\ReaderTest
Namespace: GeoIp2\Test\WebService
Located at tests/GeoIp2/Test/Database/ReaderTest.php
Methods summary
public
# testDefaultLocale( )
public
# testLocaleList( )
public
# testHasIpAddress( )
public
# testUnknownAddress( )

Expectedexception

GeoIp2\Exception\AddressNotFoundException

Expectedexceptionmessage

The address 10.10.10.10 is not in the database.
public
# testIncorrectDatabase( )

Expectedexception

BadMethodCallException

Expectedexceptionmessage

The country method cannot be used to open a GeoIP2-City database
public
# testIncorrectDatabaseFlat( )

Expectedexception

BadMethodCallException

Expectedexceptionmessage

The domain method cannot be used to open a GeoIP2-City database
public
# testInvalidAddress( )

Expectedexception

InvalidArgumentException

Expectedexceptionmessage

is not a valid IP address
public
# testAnonymousIp( )
public
# testConnectionType( )
public
# testDomain( )
public
# testIsp( )
public
# testMetadata( )
minFraud Score and Insights PHP API v0.1.0 API documentation generated by ApiGen