Correcting the function name for assigning mock callback and its paramet...

...er.