File "ForbiddenSpec.php"

Full path: /home/cakedeco/retaildirectonline.co.uk/system/storage/vendor/cardinity/cardinity-sdk-php/spec/Exception/ForbiddenSpec.php
File size: 357 B (357 B bytes)
MIME-type: text/x-php
Charset: utf-8

Download   Open   Edit   Advanced Editor &nnbsp; Back

<?php

namespace spec\Cardinity\Exception;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument;

class ForbiddenSpec extends ObjectBehavior
{
    function it_is_initializable()
    {
        $this->shouldHaveType('Cardinity\Exception\Forbidden');
    }

    function it_should_return_correct_code()
    {
        $this->getCode()->shouldReturn(403);
    }
}