Completed
Push — master ( f1bec2...03b202 )
by Gabriel
06:09
created

ClientFactoryTest::testGetGenericClient()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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
        self::assertInstanceOf(ClientBridge::class, $client->getClient());
21
    }
22
}
23