/** * @covers YAYOG\Workout::setDate * @covers YAYOG\Workout::getDate */ public function testSetDate() { $date = new DateTime(); $this->workout->setDate($date); $this->assertEquals($date, $this->workout->getDate()); }