| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | public function testGetUserAgent() |
||
| 18 | { |
||
| 19 | $options = array( |
||
| 20 | 'apiKey' => 'b3bb90d61e80e96259bf354fd7cb03d7', |
||
| 21 | 'siteUrl' => 'https://github.com/znarf/bouncer', |
||
| 22 | ); |
||
| 23 | |||
| 24 | $client = new \Bouncer\Http\SimpleClient($options); |
||
| 25 | |||
| 26 | $this->assertEquals('Bouncer Http; https://github.com/znarf/bouncer', $client->getUserAgent()); |
||
| 27 | } |
||
| 28 | |||
| 30 |