The use of `stub` here is confusing, as `expect` sets up a mock expectation.