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

SendMessageTest::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\tests\Methods\Request;
4
5
use leocata\M1\Methods\Request\SendMessage;
6
use PHPUnit\Framework\TestCase;
7
8
class SendMessageTest extends TestCase
9
{
10
    /**
11
     * @expectedException \leocata\M1\Exceptions\MissingMandatoryField
12
     * @expectedExceptionMessage sessionid
13
     */
14
15
    public function testMissingMandatoryExportField()
16
    {
17
        $setState = new SendMessage();
18
        $setState->export();
19
    }
20
21
}
22