Mock the application