That will allow you to write mocks that you can use in integration or unit tests against the view model. For example, the view model can be seeded with different mocks that have different behavior for retryLoad and report different packagingStatus. And with that, you can verify that the resulting model status is what you expect.
We should be writing these tests as we go and not wait until the end.
That will allow you to write mocks that you can use in integration or unit tests against the view model. For example, the view model can be seeded with different mocks that have different behavior for retryLoad and report different packagingStatus. And with that, you can verify that the resulting model status is what you expect.
We should be writing these tests as we go and not wait until the end.