Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
8 | class RestTest extends CommonTestClass |
||
9 | { |
||
10 | public function testExcept() |
||
11 | { |
||
12 | $ex = new Exceptions\EmailException('something'); |
||
13 | $this->assertEquals('something', $ex->getMessage()); |
||
14 | } |
||
15 | |||
16 | public function testInternal() |
||
17 | { |
||
18 | $lib = new Services\Internal(); |
||
19 | $this->assertTrue($lib->canUseService()); |
||
20 | $this->assertEquals(1, $lib->systemServiceId()); |
||
21 | // more is not possible - here is direct system call for email |
||
22 | } |
||
23 | |||
24 | public function testInternalDies() |
||
31 | } |
||
32 | |||
33 | public function testLocalProcessing() |
||
38 | } |
||
39 | } |
||
40 |