$this->fail("The query() specifications provides: 'If the query doesn't return any result, return null.'. This is also the expected behavior for empty queries. Instead we got an exception.");
}
$this->assertNull($resultNull,"The query() specifications provides: 'If the query doesn't return any result, return null.'. This is also the expected behavior for empty queries.");
$this->assertNull($resultNull,"The query() specifications provides: 'If the query doesn't return any result, return null.'. This is expected for $sqlNullResult.");
$this->assertEquals(2,$resultScalar,"The query() specifications provides: 'If the query return a row with one field, the scalar value.' This is expected for $sqlScalarResult.");
$this->assertEquals($expectedResultArray,$resultArray,"The query() specifications provides: '[If the query returns a non scalar result, return] an associative array, the fields as keys, the row as values.'. This is expected for $sqlArrayResult.");