Mocking ServiceTest.