Re: How to Mock a mongodb

2015-02-09 Thread Jean-Michel Pichavant
- Original Message - > From: "Xavier Pegenaute" > To: [email protected] > Sent: Saturday, 7 February, 2015 11:09:10 PM > Subject: How to Mock a mongodb > > Dear, > > I am trying to mock the use of a mongo db and I am having some > trouble. > Appears that I am not able to return a de

Re: How to Mock a mongodb

2015-02-07 Thread mm0fmf
On 07/02/2015 22:09, Xavier Pegenaute wrote: Dear, I am trying to mock the use of a mongo db and I am having some trouble. Appears that I am not able to return a desired value from mongo.find().count(). I made a proof of concept to try to reduce complexity of the real problem. You can find the