Mocking and deployment