set expectations on methods and assert that they have been called
assert that functions are called an exact number of times
test for call count assertion
Merge pull request #4 from adampickeral/expectations

Expectations