Stubbing out process instance resource and engine runtime facade.