-
Notifications
You must be signed in to change notification settings - Fork 0
Application ShoppingApp
Devrath edited this page Jul 11, 2021
·
21 revisions
Contents |
|---|
| Creating a Fake repository |
- We create a fake repository when we can
swapbetween areal repositoryand afake repositorydepending on our usage. - We use a
real repositorywhen we are running our production code. - We use a
fake repositorywhen we are testing our test cases. - We inject the interface of the
repositoryin theview modelconstructor.