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

HydratorTest::testReflectionHydratorInvalidClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
c 0
b 0
f 0
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
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