Пример #1
0
 public function test_create_blueprint_server()
 {
     $server = new BlueprintServer('localhost', 6789, __FILE__);
     $server->start();
     $server->start();
     $this->assertTrue($server->isRunning());
     $server->stop();
     $this->assertFalse($server->isRunning());
 }
Пример #2
0
 public static function tearDownAfterClass()
 {
     self::$server->stop();
 }