Passed
Push — master ( f881c5...014efc )
by Leo
02:57
created

StateTest::testMissingMandatoryExportField()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace leocata\M1\Methods\Response;
4
5
use PHPUnit\Framework\TestCase;
6
7
class StateTest extends TestCase
8
{
9
    /**
10
     * @expectedException \leocata\M1\Exceptions\MissingMandatoryField
11
     * @expectedExceptionMessage userid
12
     */
13
14
    public function testMissingMandatoryExportField()
15
    {
16
        $setState = new State();
17
        $setState->export();
18
    }
19
}
20