public function testSetSemester() { $appStat = new ApplicationStatistic(); $semester = new Semester(); $appStat->setSemester($semester); $this->assertEquals($semester, $appStat->getSemester()); }