| 1 | <?php |
||
| 19 | class HttpClientTestCase extends \PHPUnit_Framework_TestCase |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private static $baseURL; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Set the URL that will be used as root in all tests |
||
| 28 | * @param string $baseURL The base URL configured |
||
| 29 | */ |
||
| 30 | public static function setBaseUrl($baseURL) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Base URL accessor |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public static function getBaseUrl() |
||
| 43 | } |
||
| 44 |