[CSHARP-8] Create interfaces for Mongo and Database classes Created: 17/Feb/10 Updated: 19/Oct/16 Resolved: 21/May/10 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Sam Corder | Assignee: | Sam Corder |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Add IMongo and IDatabase interfaces which Mongo and Database implement so that these two classes can be mocked during unit testing. |
| Comments |
| Comment by David O'Hara [ 05/Apr/10 ] |
|
I extracted interfaces and pushed them as a commit on my fork. |