/**
  * @dataProvider providerNow
  *
  * @param integer $second The second to set the clock to.
  * @param integer $nano   The nanosecond adjustment to the clock.
  * @param integer $offset The time-zone offset to get the time at.
  * @param integer $y      The expected year.
  * @param integer $m      The expected month
  * @param integer $d      The expected day.
  * @param integer $h      The expected hour.
  * @param integer $i      The expected minute.
  * @param integer $s      The expected second.
  * @param integer $n      The expected nano.
  */
 public function testNow($second, $nano, $offset, $y, $m, $d, $h, $i, $s, $n)
 {
     $this->setClockTime($second, $nano);
     $timeZone = TimeZoneOffset::ofTotalSeconds($offset);
     $this->assertLocalDateTimeIs($y, $m, $d, $h, $i, $s, $n, LocalDateTime::now($timeZone));
 }