Business\Tests\TimeTest::testToInteger PHP Method

testToInteger() public method

public testToInteger ( )
    public function testToInteger()
    {
        $time = new Time('20', '00');
        $this->assertEquals(200000, $time->toInteger());
        $time = new Time('09', '30');
        $this->assertEquals(93000, $time->toInteger());
    }