PHP Class Propaganistas\LaravelPhone\Tests\PhoneValidatorTest

Inheritance: extends Orchestra\Testbench\TestCase
Show file Open project: propaganistas/laravel-phone

Protected Properties

Property Type Description
$validator

Public Methods

Method Description
setUp ( )
testFacade ( )
testHelperFunction ( )
testValidatePhoneAutomaticDetectionFromInternationalInput ( )
testValidatePhoneFaultyParameters ( )
testValidatePhoneLenient ( )
testValidatePhoneNoDefaultCountryNoCountryField ( )
testValidatePhoneWithCountryFieldNoType ( )
testValidatePhoneWithCountryFieldWithType ( )
testValidatePhoneWithCustomCountryField ( )
testValidatePhoneWithDefaultCountryNoType ( )
testValidatePhoneWithDefaultCountryWithType ( )

Protected Methods

Method Description
getPackageAliases ( )
getPackageProviders ( )

Private Methods

Method Description
performValidation ( $data )

Method Details

getPackageAliases() protected method

protected getPackageAliases ( )

getPackageProviders() protected method

protected getPackageProviders ( )

setUp() public method

public setUp ( )

testFacade() public method

public testFacade ( )

testHelperFunction() public method

public testHelperFunction ( )

testValidatePhoneAutomaticDetectionFromInternationalInput() public method

testValidatePhoneFaultyParameters() public method

testValidatePhoneLenient() public method

testValidatePhoneNoDefaultCountryNoCountryField() public method

testValidatePhoneWithCountryFieldNoType() public method

testValidatePhoneWithCountryFieldWithType() public method

testValidatePhoneWithCustomCountryField() public method

testValidatePhoneWithDefaultCountryNoType() public method

testValidatePhoneWithDefaultCountryWithType() public method

Property Details

$validator protected property

protected $validator