Test Failed
Push — master ( 99cade...32f37c )
by Dan Michael O.
10:15
created

RequestedResourceSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 12
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A let() 0 4 1
A it_is_initializable() 0 4 1
1
<?php
2
3
namespace spec\Scriptotek\Alma\TaskLists;
4
5
use Scriptotek\Alma\Bibs\Bib;
6
use Scriptotek\Alma\Client as AlmaClient;
7
use Scriptotek\Alma\Conf\Library;
8
use Scriptotek\Alma\TaskLists\RequestedResource;
9
use PhpSpec\ObjectBehavior;
10
use Prophecy\Argument;
11
12
13
class RequestedResourceSpec extends ObjectBehavior
14
{
15
    public function let(AlmaClient $client, Library $library, Bib $bib)
16
    {
17
        $this->beConstructedWith($client, $library, 'SUPER_DESK', $bib);
18
    }
19
20
    function it_is_initializable()
21
    {
22
        $this->shouldHaveType(RequestedResource::class);
23
    }
24
}
25