public function test_it_can_hold_one_or_more_stages() { $system = new EducationSystem(new Name('LOMCE')); $system->addStage('Infantil', 'EI', 3); $system->addStage('Primary', 'EP', 6); $this->assertEquals(2, $system->hasStages()); }
public function equals(EducationSystem $system) { return $this->getName() == $system->getName(); }