Mocking the UI