setMockService

Sets a mock implementation for testing purposes