function testUpdateCheckOutStatus() { $copy_id = 1; $patron_id = 1; $checkout_status = 0; $due_date = "2015-01-01"; $test_checkout = new Checkout($patron_id, $copy_id, $due_date, $checkout_status); $test_checkout->save(); $test_checkout->updateCheckOutStatus(1); $result = $test_checkout->getCheckOutStatus(); $this->assertEquals(1, $result); }