Completed
Pull Request — master (#2)
by Siad
03:38
created

BotSpec::it_is_initializable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 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