use new `allow` style of stubbing methods