I find this prevents thing a little weird, what it actually seems to be doing is stopping you from defining methods for stubs/expectations on doubles. I'm not sure if I want these expectations to be inlined, maybe it just needs a different name. What about expect_mocking_error?