| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function testFiltersValueAsExpected() |
||
| 15 | { |
||
| 16 | $filter = new AmountFilter(); |
||
| 17 | |||
| 18 | $this->assertSame(20000, $filter->filter(200)); |
||
| 19 | |||
| 20 | $this->assertSame(20000, $filter->filter('200')); |
||
| 21 | |||
| 22 | $this->assertSame(0, $filter->filter(0)); |
||
| 23 | |||
| 24 | $this->assertSame(0, $filter->filter('0')); |
||
| 25 | } |
||
| 26 | |||
| 36 |