public function testMinutes() { $ci = new Interval(0, 0, 0, 0, 0, 1); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 1, 0); $ci = Interval::minutes(2); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 2, 0); $ci = Interval::minute(); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 1, 0); $ci = Interval::minute(3); $this->assertInstanceOfInterval($ci); $this->assertInterval($ci, 0, 0, 0, 0, 3, 0); }