|
|
@ -45,13 +45,18 @@
|
|
|
|
private $Socket;
|
|
|
|
private $Socket;
|
|
|
|
private $SourceQuery;
|
|
|
|
private $SourceQuery;
|
|
|
|
|
|
|
|
|
|
|
|
public function setUpBeforeClass()
|
|
|
|
public function setUp()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$this->Socket = new TestableSocket();
|
|
|
|
$this->Socket = new TestableSocket();
|
|
|
|
$this->SourceQuery = new SourceQuery( $this->Socket );
|
|
|
|
$this->SourceQuery = new SourceQuery( $this->Socket );
|
|
|
|
$this->SourceQuery->Connect( 1, 2 );
|
|
|
|
$this->SourceQuery->Connect( 1, 2 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public function tearDown()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
$this->SourceQuery->Disconnect();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @dataProvider InfoProvider
|
|
|
|
* @dataProvider InfoProvider
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|