make header file to prevent duplicate coding for the two mock versions.