Test pattern for methods implementing multi-step http transactions.