`stub` and `mock` are deprecated