class Mocha::StubbingError

Exception raised when stubbing a particular method is not allowed.

@see Configuration.prevent