function test_setBookId() { //Arrange $available = true; $book_id = 1; $test_copy = new Copy($available, $book_id); $book_id2 = 2; //Act $test_copy->setBookId($book_id2); $result = $test_copy->getBookId(); //Assert $this->assertEquals($book_id2, $result); }