/** * Test for seconds extraction from date. * * @return void * * @since 12.1 */ public function test__toStringSecond() { $this->_instance->select($this->_instance->second($this->_instance->quoteName('col')))->from('table'); $this->assertThat( (string) $this->_instance, $this->equalTo(PHP_EOL . "SELECT SECOND(`col`)" . PHP_EOL . "FROM table") ); }