Current Path : /var/www/storage2/vendor/cardinity/cardinity-sdk-php/spec/Exception/ |
Current File : /var/www/storage2/vendor/cardinity/cardinity-sdk-php/spec/Exception/ServiceUnavailableSpec.php |
<?php namespace spec\Cardinity\Exception; use Cardinity\Method\ResultObject; use PhpSpec\ObjectBehavior; use Prophecy\Argument; class ServiceUnavailableSpec extends ObjectBehavior { function let(\RuntimeException $exception, ResultObject $error) { $this->beConstructedWith( $exception, $error ); } function it_is_initializable() { $this->shouldHaveType('Cardinity\Exception\ServiceUnavailable'); } function it_should_return_correct_code() { $this->getCode()->shouldReturn(503); } }