/** @test */ public function clockShouldIncrement() { $clock = new Wall(1); $clock->init(); $t = $clock->at(); usleep(3000); // Sleep for a milli, a milli, a milli $clock->inc(); $this->assertTrue($clock->tick(), "Clock has moved but did not tick"); $this->assertGreaterThan($t, $clock->at()); }