support chaining in mock set up