function testGetName() { //Arrange $description = "Average Joe"; $name = "Human"; $test_race = new Race($description, $name); //Act $result = $test_race->getName(); //Assert $this->assertEquals($name, $result); }
function testGetName() { //Arrange $description = "Average Joe"; $name = "Human"; $test_race = new Race($description, $name); //Act $result = $test_race->getName(); //Assert $this->assertEquals($name, $result); }