Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

Go to top

Mocking the generic repository

, 29 Jul 2012
This post describes one possible way to mock the generic repository. This can be useful when isolating the application from the database, usually inside unit tests. Another possible usage might be the creation of "portable" version of your application.

Revisions


  

Compare Revision Minor Date Status Editor
3 No 4-May-12 10:04 Available Sean Ewington
2 No 3-May-12 2:43 Available Jan Fajfr
1 No 2-May-12 21:23 Available Jan Fajfr

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Jan Fajfr
Software Developer (Junior) OCTO Technology
Czech Republic Czech Republic
I work as IT consultant at OCTO Technology. Previously I have lived and studied CS in Prague, Paris and Valencia.
 
LinkedIn
Blog
GitHub
Articles at OCTO blog

| Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 29 Jul 2012
Article Copyright 2012 by Jan Fajfr
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid