Almost the same, but it mocks a different method on the runtime.