/** * Testing getResponse() without making a previous * socket connection with open() * * @return void */ public function testGetResponseWithoutConnection() { $db = new Connection(); $result = $db->getResponse(); $this->assertFalse($result, 'Failed to return false with no established connection'); }
/** * Testing getResponse() without making a previous * socket connection with open() * * @return void */ public function testGetResponseWithoutConnection() { $db = new Connection(); $db->setSerializer(Messages::SERIALIZER_JSON); $result = $db->getResponse(); $this->assertFalse($result, 'Failed to return false with no established connection'); }