(name 'Mongo-Tests-Core-NorbertHartl.6' message 'Changed MongoMockTests to use MongoMock new instead of the singleton. This removes side effects and the need for resetting the MongoMock instance' id 'd7868065-e04e-43b8-8545-e83031d165e1' date '1 April 2016' time '10:01:03.427534 am' author 'NorbertHartl' ancestors ((name 'Mongo-Tests-Core-NorbertHartl.5' message 'reset MongoMock state between tests' id '7dbd45bf-8acc-4fc9-acd5-bbe3d4036de8' date '30 March 2016' time '9:57:45.094404 am' author 'NorbertHartl' ancestors ((name 'Mongo-Tests-Core-NorbertHartl.4' message 'added tests for separation of addCollection:/getCollection:' id '5a8cfd34-ee88-4455-9101-8945a654b4ca' date '18 March 2016' time '5:35:17.57039 pm' author 'NorbertHartl' ancestors ((name 'Mongo-Tests-Core-HolgerHansPeterFreyther.3' message 'Add >>#flags to UpdateOperation to specify upsert

The mongodb protocol allows to specify a flag how to handle an update and it was not possible to set it yet. Update the UpdateOperation to have a configurable flags and add overloads to Mongo, MongoDatabase and MongoCollection to use these. For methods with more than one line a call to the new method has been inserted.

Add a small test that verifies that Upsert is possible with the driver. Interestingly the  MultiUpdate does not seem to work as expected with MongoDB but the flag is correctly set and sent on the wire.' id '6b8c7777-4039-4583-b741-2ceb85062d73' date '11 February 2016' time '4:19:02.743522 pm' author 'HolgerHansPeterFreyther' ancestors ((name 'Mongo-Tests-Core-TorstenBergmann.2' message 'better categories' id '5a8d441a-6e42-394e-bb87-313382796000' date '4 March 2015' time '11:14:03.3431 am' author 'TorstenBergmann' ancestors ((name 'Mongo-Tests-Core-TorstenBergmann.1' message 'tests in an own package based on "Mongo-Core-NorbertHartl.37"' id 'ce43a38c-bafd-7f44-85e0-977eaa4390dd' date '4 March 2015' time '9:52:08.0421 am' author 'TorstenBergmann' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())