Completed
Push — master ( 20a668...02e94f )
by Guillermo A.
02:17
created

RequestFactoryTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 6
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testBadRequest() 0 4 1
1
<?php
2
3
namespace GuillermoandraeTest\DynamoDb;
4
5
use Guillermoandrae\DynamoDb\Exception;
6
use Guillermoandrae\DynamoDb\RequestFactory;
7
use PHPUnit\Framework\TestCase;
8
9
final class RequestFactoryTest extends TestCase
10
{
11
    public function testBadRequest()
12
    {
13
        $this->expectException(Exception::class);
14
        RequestFactory::factory('test', []);
15
    }
16
}
17