Rename mocked method path and variable.