| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function shouldBeConstructWithOrWithoutClient() |
||
| 25 | { |
||
| 26 | $auth = new ServiceAuth(); |
||
| 27 | $this->assertInstanceOf('Nekland\\YoutubeApi\\Http\\Auth\\ServiceAuth', $auth); |
||
| 28 | |||
| 29 | $auth = new ServiceAuth($this->prophesize('Guzzle\\Http\\ClientInterface')->reveal()); |
||
| 30 | $this->assertInstanceOf('Nekland\\YoutubeApi\\Http\\Auth\\ServiceAuth', $auth); |
||
| 31 | } |
||
| 32 | |||
| 46 |