Slide 15
Slide 15 text
Testability
• Since providers are usually declared as
global variables, you might worry about
that one.
After all, global state makes testing very
difficult, because it can require
lengthy setUp/tearDown.
• But the reality is: While providers are
declared as global, the state of a
provider is not global.