PHP 클래스 DragonBe\Test\Vies\ViestTest

상속: extends PHPUnit_Framework_TestCase
파일 보기 프로젝트 열기: dragonbe/vies

공개 메소드들

메소드 설명
badCountryCodeProvider ( )
testConvertObjectIntoArray ( CheckVatResponse $response )
testDefaultOptionsAreEmpty ( )
testDefaultSoapClientIsLazyLoaded ( )
testExceptionIsRaisedForNonEuropeanUnionCountryCodes ( $code ) Test to see the country code is rejected if not existing in the EU
testExceptionIsRaisedForNonEuropeanUnionCountryCodesRequester ( $code ) Test to see the country code is rejected if not existing in the EU
testExceptionIsRaisedSoapFault ( $vat ) Test exception ViesServiceException is thrown after SoapFault exception
testFailureVatNumberValidation ( )
testGetDefaultHeartBeatWhenNoneSpecified ( )
testGettingDefaultSoapClient ( )
testGettingDefaultWsdl ( )
testOptionsCanBeSet ( )
testRetrievingListOfEuropeanCountriesStatically ( )
testServiceIsAlive ( )
testServiceIsDown ( )
testSettingCustomWsdl ( )
testSettingSoapOptions ( )
testSuccessVatNumberValidation ( )
testSuccessVatNumberValidationWithRequester ( )
testVatNumberFilter ( $vatNumber, $filteredNumber )
vatNumberProvider ( )

보호된 메소드들

메소드 설명
_createdStubbedViesClient ( $response )

비공개 메소드들

메소드 설명
createHeartBeatMock ( $bool )

메소드 상세

_createdStubbedViesClient() 보호된 메소드

protected _createdStubbedViesClient ( $response )

badCountryCodeProvider() 공개 메소드

testConvertObjectIntoArray() 공개 메소드

public testConvertObjectIntoArray ( CheckVatResponse $response )
$response DragonBe\Vies\CheckVatResponse

testDefaultOptionsAreEmpty() 공개 메소드

testDefaultSoapClientIsLazyLoaded() 공개 메소드

testExceptionIsRaisedForNonEuropeanUnionCountryCodes() 공개 메소드

Test to see the country code is rejected if not existing in the EU

testExceptionIsRaisedForNonEuropeanUnionCountryCodesRequester() 공개 메소드

Test to see the country code is rejected if not existing in the EU

testExceptionIsRaisedSoapFault() 공개 메소드

Test exception ViesServiceException is thrown after SoapFault exception
public testExceptionIsRaisedSoapFault ( $vat )
$vat

testFailureVatNumberValidation() 공개 메소드

testGetDefaultHeartBeatWhenNoneSpecified() 공개 메소드

testGettingDefaultSoapClient() 공개 메소드

testGettingDefaultWsdl() 공개 메소드

testOptionsCanBeSet() 공개 메소드

public testOptionsCanBeSet ( )

testRetrievingListOfEuropeanCountriesStatically() 공개 메소드

testServiceIsAlive() 공개 메소드

public testServiceIsAlive ( )

testServiceIsDown() 공개 메소드

public testServiceIsDown ( )

testSettingCustomWsdl() 공개 메소드

testSettingSoapOptions() 공개 메소드

testSuccessVatNumberValidation() 공개 메소드

testSuccessVatNumberValidationWithRequester() 공개 메소드

testVatNumberFilter() 공개 메소드

public testVatNumberFilter ( $vatNumber, $filteredNumber )

vatNumberProvider() 공개 메소드

public vatNumberProvider ( )