Stubbing for both activities.