Completed
Push — develop ( db9af5...942a5f )
by Mattias
05:43
created

BotSpec   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A it_is_initializable() 0 5 1
1
<?php
2
3
namespace spec\TelegramBot;
4
5
use TelegramBot\Bot;
6
use TelegramBot\APIPollClient;
7
use PhpSpec\ObjectBehavior;
8
use Prophecy\Argument;
9
10
class BotSpec extends ObjectBehavior
11
{
12
    function it_is_initializable(APIPollClient $apiClient)
13
    {
14
        $this->beConstructedWith($apiClient);
15
        $this->shouldHaveType(Bot::class);
16
    }
17
}
18