Completed
Push — master ( 930c0f...68d0e6 )
by Stéphane
03:38
created

ClientFactoryTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testCreate() 0 5 1
1
<?php
2
/**
3
 * This file is part of the bee4/httpclient package.
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 *
7
 * @copyright Bee4 2015
8
 * @author  Stephane HULARD <[email protected]>
9
 * @package Bee4\Test\Transport
10
 */
11
12
namespace Bee4\Test\Transport;
13
14
use Bee4\Transport\ClientFactory as SUT;
15
use Bee4\Transport as LUT;
16
17
/**
18
 * Check behaviour of ClientFactory helper
19
 * @package Bee4\Test\Transport
20
 */
21
class ClientFactoryTest extends \PHPUnit_Framework_TestCase
22
{
23
    public function testCreate()
24
    {
25
        $client = SUT::create();
26
        $this->assertInstanceOf(LUT\MagicHandler::class, $client);
27
    }
28
}
29