But doesn't this override the regular doMock? The one that checks $location?