Completed
Push — master ( 0e7db1...c18576 )
by Tomasz
12s
created

HydratorTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testReflectionHydratorInvalidClass() 0 5 1
1
<?php
2
namespace Thunder\Serializard\Tests;
3
4
use Thunder\Serializard\Hydrator\ReflectionHydrator;
5
6
/**
7
 * @author Tomasz Kowalczyk <[email protected]>
8
 */
9
final class HydratorTest extends AbstractTestCase
10
{
11
    public function testReflectionHydratorInvalidClass()
12
    {
13
        $this->expectException('InvalidArgumentException');
14
        new ReflectionHydrator('invalid', []);
15
    }
16
}
17