public function testEntrantsCanBeAdded() { $entrant = new Entrant(); $entrant->setName("Chris"); $application = new Application(); $application->addEntrant($entrant); $this->assertEquals("Chris", $application->getEntrant()->getName()); }
public function testThatTheNameIsSettableAndGettable() { $entrant = new Entrant(); $entrant->setName("Chris"); $this->assertEquals("Chris", $entrant->getName()); }