DummyClient::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 8
rs 9.4285
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace CarlosIO\Geckoboard\Tests;
4
5
use CarlosIO\Geckoboard\Client;
6
7
class DummyClient extends Client
8
{
9
    public function __construct()
10
    {
11
        parent::__construct();
12
13
        $client = \Mockery::mock('stdClass');
14
        $client->shouldReceive('post->send')->once();
15
        $this->client = $client;
16
    }
17
}
18