protected function setUp()
{
parent::setUp();
if (!class_exists('\\JBZoo\\Utils\\Sys')) {
throw new Exception('jbzoo/utils required for HttpServer unit-tests');
}
if (!class_exists('\\JBZoo\\HttpClient\\HttpClient')) {
throw new Exception('jbzoo/http-client required for HttpServer unit-tests');
}
if (Sys::isPHP53() || Sys::isHHVM()) {
skip('PHP 5.3.x/7.0/hhvm doen\'t support built-in web-server');
}
FS::rmdir(PROJECT_BUILD . '/coverage_cov');
FS::rmdir(PROJECT_BUILD . '/coverage_html');
FS::rmdir(PROJECT_BUILD . '/coverage_xml');
}