Fix test mocked method
Remove unused method parameter