Completed
Push — master ( 8ee6a5...a7d283 )
by Jason
04:00
created

JmsSerializerServiceProviderTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 7 1
A testBuilder() 0 4 1
1
<?php
2
3
namespace JDesrosiers\Tests\Silex\Provider\Test;
4
5
use JDesrosiers\Silex\Provider\JmsSerializerServiceProvider;
6
use Silex\Application;
7
8
class JmsSerializerServiceProviderTest extends \PHPUnit_Framework_TestCase
9
{
10
    protected $app;
11
12
    public function setUp()
13
    {
14
        $this->app = new Application();
15
        $this->app->register(new JmsSerializerServiceProvider(), array(
16
            "serializer.srcDir" => __DIR__ . "/../vendor/jms/serializer/src",
17
        ));
18
    }
19
20
    public function testBuilder()
21
    {
22
        // No tests yet, shame, shame, shame
23
    }
24
}
25