/** * @group cronCompile */ public function testWeekdayMethods() { $e = new Event($this->id, 'php foo'); $this->assertEquals('* * * * 4 *', $e->thursdays()->getExpression()); $e = new Event($this->id, 'php bar'); $this->assertEquals('* * * * 5 *', $e->fridays()->getExpression()); }