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

SendMessageTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testMissingMandatoryExportField() 0 4 1
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