Stubbing methods