[misc] Fixed wrong parameters passed to overloaded mock method