| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 31 | public function testEscapeString($expected, $value) |
||
| 32 | { |
||
| 33 | $fints = $this->getMockBuilder('\Fhp\FinTs') |
||
| 34 | ->disableOriginalConstructor() |
||
| 35 | ->getMock(); |
||
| 36 | |||
| 37 | $reflMethod = new \ReflectionMethod('\Fhp\FinTs', 'escapeString'); |
||
| 38 | $reflMethod->setAccessible(true); |
||
| 39 | |||
| 40 | $this->assertSame($expected, $reflMethod->invoke($fints, $value)); |
||
| 41 | } |
||
| 42 | } |
||
| 43 |