It was much faster than implementing a mock object.