Completed
Pull Request — master (#3)
by
unknown
15:23
created

CardinityServiceClientTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A testCardinityClientInstance() 0 5 1
1
<?php
2
3
namespace Cardinity\ClientBundle\Tests;
4
5
class CardinityServiceClientTest extends AbstractTestCase
6
{
7
    private $container;
8
9
    public function __construct()
10
    {
11
        $this->container = $this->getContainer();
12
    }
13
14
    public function testCardinityClientInstance()
15
    {
16
        $client = $this->getContainer()->get('cardinity_client.service.client');
17
        $this->assertInstanceOf('\Cardinity\Client', $client);
18
    }
19
}
20