| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function setUp() |
||
| 15 | { |
||
| 16 | $request = $this->prophesize('Ip2c\Http\Request'); |
||
| 17 | $ipUtil = $this->prophesize('Ip2c\Ip\IpUtil'); |
||
| 18 | |||
| 19 | $stringResult = '1;ES;ESP;Spain'; |
||
| 20 | $request->doRequest(Argument::any(), Argument::any())->willReturn($stringResult); |
||
| 21 | |||
| 22 | $this->sut = new Ip2c($request->reveal(), $ipUtil->reveal()); |
||
| 23 | } |
||
| 24 | |||
| 51 |