Click here to Skip to main content
11,635,053 members (67,306 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

Mocking the generic repository

, 29 Jul 2012 CPOL 13.2K 7
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.



Compare Revision Minor Date Status Editor
5 - publicly available Yes 29-Jul-12 11:52 Available Smitha Vijayan
Updates in content.
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


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


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.

Articles at OCTO blog

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150728.1 | Last Updated 29 Jul 2012
Article Copyright 2012 by Jan Fajfr
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid