Asserting call_count instead of raising an exception.