/** * Tests the \Joomla\Database\DatabaseQuery::nullDate method for an expected exception. * * @return void * * @covers \Joomla\Database\DatabaseQuery::quote * @expectedException \RuntimeException * @since 1.0 */ public function testQuoteException() { // Override the internal database for testing. TestHelper::setValue($this->instance, 'db', new \stdClass()); $this->instance->quote('foo'); }