Jamie Lennox 22760510b7 Allow querying if a mock was called.
Firstly privatize everything on the existing matcher object as it is now
going to be a public interface.

Add called and call_count parameters for querying how many times that
particular mock was invoked. We do this by saving a reference to every
request that passes through. This is inefficient for now, however it
lets us do more interesting things like called_with in the future.
2014-07-29 17:40:50 +10:00
..
2014-06-16 14:53:48 +10:00
2014-06-23 22:37:36 +10:00
2014-06-23 16:03:40 +10:00
2014-06-23 16:03:40 +10:00
2014-06-16 14:53:48 +10:00
2014-06-16 14:53:48 +10:00
2014-07-01 12:50:56 +10:00
2014-06-16 22:36:56 +10:00