Refactoring repositories for a single MockRepository