function test_get_attendee_property_answer_value() { $r = $this->new_model_obj_with_dependencies('Registration'); global $wpdb; $att = EEM_Attendee::reset()->get_one_by_ID($r->attendee_ID()); $this->assertEquals($r->attendee()->fname(), EEM_Answer::instance()->get_attendee_property_answer_value($r, EEM_Attendee::system_question_fname)); }