| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 19 | public function testAppValue() { |
||
| 20 | $this->config->expects($this->any()) |
||
| 21 | ->method('getAppValue') |
||
| 22 | ->with('apporder', 'foo') |
||
| 23 | ->willReturn('bar'); |
||
| 24 | // $this->service->setAppValue("foo","bar"); |
||
| 25 | $result = $this->service->getAppValue("foo"); |
||
| 26 | $this->assertEquals('bar', $result); |
||
| 27 | } |
||
| 28 | |||
| 40 |