no exception is raised when stubbing