Foxx Repository: byId (Test: Ugly)
Pushed the constructor mocking to the module