public function testSeconds() { $ci = new Interval(0, 0, 0, 0, 0, 0, 1); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 0, 1); $ci = Interval::seconds(2); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 0, 2); $ci = Interval::second(); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 0, 1); $ci = Interval::second(3); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 0, 3); }