public function testAuthRequestNotAdded()
 {
     $portGood = 9999;
     $reader = new Reader($this->getHost(), $portGood);
     $this->assertEquals(0, $reader->getCountQueriesInQueue(), "Auth request added on init hs reader.");
     $reader->getResultList();
 }
 public function testSelectExistedValueWithDebug()
 {
     $reader = new Reader(self::HOST, self::PORT_RO, $this->getReadPassword(), true);
     $indexId = $reader->getIndexId($this->getDatabase(), $this->getTableName(), 'PRIMARY', array('key', 'date', 'float', 'varchar', 'text', 'set', 'null', 'union'));
     $selectRequest = $reader->selectByIndex($indexId, Comparison::EQUAL, array(42));
     $expectedResult = array(array('key' => '42', 'date' => '2010-10-29', 'float' => '3.14159', 'varchar' => 'variable length', 'text' => "some\r\nbig\r\ntext", 'set' => 'a,c', 'union' => 'b', 'null' => null));
     $this->checkAssertionLastResponseData($reader, 'first test method with debug ', $expectedResult);
     /** @var \HS\Result\ResultAbstract $response */
     $response = $selectRequest->getResult();
     $this->assertEquals(3, $reader->getCountQueries(), "The count of queries with debug is wrong.");
     $this->assertTrue($response->getTime() > 0, "Time for query is wrong.");
     $this->assertTrue($reader->getTimeQueries() > 0, "Time for all query list is wrong");
 }