The painful way:
Backup with TimeMachine
Upgrade to Snow Leopard
Upgrade to Lion
Restore essential data from TimeMachine
The painful way:
Backup with TimeMachine
Upgrade to Snow Leopard
Upgrade to Lion
Restore essential data from TimeMachine
First of all, you should be careful with any call to stub.
You probably want to use stub just to simulate a behavior, one that you don’t want to test in your current test.
For example: You may want to use stub with a remote service, an API call.
I for one welcome this change and deprecation warning.