Abstracting the concern of stubbing