| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 29 | public function testUserValue() { |
||
| 30 | $this->config->expects($this->any()) |
||
| 31 | ->method('getUserValue') |
||
| 32 | ->with('user', 'apporder', 'foo') |
||
| 33 | ->willReturn('bar'); |
||
| 34 | $this->service->setUserValue("foo", "user", "bar"); |
||
| 35 | $result = $this->service->getUserValue("foo", "user"); |
||
| 36 | $this->assertEquals('bar', $result); |
||
| 37 | } |
||
| 38 | |||
| 40 |