예제 #1
0
 function test_get()
 {
     //Arrange
     $name = "Fighter";
     $description = "stuff";
     $test_class = new Background($name, $description);
     //Act
     $result = $test_class->getName();
     $result2 = $test_class->getDescription();
     //Assert
     $this->assertEquals($name, $result);
     $this->assertEquals($description, $result2);
 }