/**
  * Tests the JDatabaseSqliteQuery::DateAdd method
  *
  * @param   datetime  $date      The date or datetime to add to.
  * @param   string    $interval  The maximum length of the text.
  * @param   string    $datePart  The part of the date to be added to (such as day or micosecond)
  * @param   string    $expected  The expected result.
  *
  * @return  void
  *
  * @dataProvider  seedDateAdd
  * @since   13.1
  */
 public function testDateAdd($date, $interval, $datePart, $expected)
 {
     $this->assertThat($this->_instance->dateAdd($date, $interval, $datePart), $this->equalTo($expected));
 }
 /**
  * Tests the JDatabaseQuerySqlite::currentTimestamp method.
  *
  * @return  void
  *
  * @covers  JDatabaseQuerySqlite::currentTimestamp
  * @since   3.4
  */
 public function testCurrentTimestamp()
 {
     $this->assertThat($this->_instance->currentTimestamp(), $this->equalTo('CURRENT_TIMESTAMP'));
 }
 /**
  * Tests the JDatabaseQuerySqlite::currentTimestamp method.
  *
  * @return  void
  *
  * @covers  JDatabaseQuerySqlite::currentTimestamp
  * @since   3.4
  */
 public function testCurrentTimestamp()
 {
     $this->assertEquals('CURRENT_TIMESTAMP', $this->_instance->currentTimestamp());
 }