| 1 | <?php |
||
| 9 | abstract class TestBase extends \PHPUnit_Framework_TestCase |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @var ClientInterface |
||
| 13 | */ |
||
| 14 | protected $client; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @var MockOAuth2Server |
||
| 18 | */ |
||
| 19 | protected $server; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param array $options |
||
| 23 | * @param array $serverOptions |
||
| 24 | * |
||
| 25 | * @return ClientInterface |
||
| 26 | */ |
||
| 27 | protected function createClient(array $options = [], array $serverOptions = []) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return ClientInterface|null |
||
| 39 | */ |
||
| 40 | protected function getClient() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @return HandlerStack|null |
||
| 47 | */ |
||
| 48 | protected function getHandlerStack() |
||
| 56 | } |
||
| 57 |