コード例 #1
0
ファイル: PatronTest.php プロジェクト: jlbethel/library-1
 function test_getPatronName()
 {
     //Arrange
     $patron_name = "Stephen King";
     $id = null;
     $test_patron = new Patron($patron_name, $id);
     //Act
     $result = $test_patron->getpatronName();
     //Assert
     $this->assertEquals($patron_name, $result);
 }