function test_updateUser2_Id() { //Arrange $user1_id = 1; $user2_id = 2; $user1_confirm = 1; $user2_confirm = 1; $location_id = 1; $confirm_meet_usr1 = 1; $confirm_meet_usr2 = 0; $id = 1; $test_meetup = new Meetup($user1_id, $user2_id, $user1_confirm, $user2_confirm, $location_id, $confirm_meet_usr1, $confirm_meet_usr2, $id); $test_meetup->save(); $new_user2_id = 2; //Act $test_meetup->updateUser2_Id($new_user2_id); //Assert $this->assertEquals($test_meetup->getuser2_id(), $new_user2_id); }