Completed
Push — master ( 8bc2af...88ffe5 )
by Koen
02:59
created

ClientSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A let() 0 6 1
A it_is_initializable() 0 4 1
1
<?php
2
3
namespace spec\ikoene\Marvel;
4
5
use ikoene\Marvel\Client;
6
use PhpSpec\ObjectBehavior;
7
use Prophecy\Argument;
8
9
class ClientSpec extends ObjectBehavior
10
{
11
    function let() {
12
        $this->beConstructedWith(
13
            'your_public_api_key',
14
            'your_private_api_key'
15
        );
16
    }
17
18
    function it_is_initializable()
19
    {
20
        $this->shouldHaveType(Client::class);
21
    }
22
}
23