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

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.
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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.
 
LinkedIn
Blog
GitHub
Articles at OCTO blog

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