minFraud PHP API v1.0.0
  • Namespace
  • Class

Namespaces

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

Classes

  • ReaderTest

Class ReaderTest

PHPUnit_Framework_TestCase
Extended by GeoIp2\Test\Database\ReaderTest
Namespace: GeoIp2\Test\Database
Located at tests/GeoIp2/Test/Database/ReaderTest.php

Methods summary

public
# databaseTypes( )
public
# testDefaultLocale( $type, $method )

Dataprovider

databaseTypes
public
# testLocaleList( $type, $method )

Dataprovider

databaseTypes
public
# testHasIpAddress( $type, $method )

Dataprovider

databaseTypes
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
# testEnterprise( )
public
# testIsp( )
public
# testMetadata( )
minFraud PHP API v1.0.0 API documentation generated by ApiGen