ClientFactoryTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetGenericClient() 0 6 1
1
<?php
2
3
namespace ByTIC\GouttePhantomJs\Tests;
4
5
use ByTIC\GouttePhantomJs\Clients\ClientFactory;
6
use ByTIC\GouttePhantomJs\Clients\PhantomJs\ClientBridge;
7
use Goutte\Client;
8
9
/**
10
 * Class ClientFactoryTest
11
 * @package ByTIC\GouttePhantomJs\Tests
12
 */
13
class ClientFactoryTest extends AbstractTest
14
{
15
    public function testGetGenericClient()
16
    {
17
        $client = ClientFactory::getGenericClient();
18
19
        self::assertInstanceOf(Client::class, $client);
20
    }
21
}
22