Github user eiri commented on the pull request:

    https://github.com/apache/couchdb-couch-log/pull/6#issuecomment-143302278
  
    Well, yes:
    ```
    Eshell V5.8.2  (abort with ^G)
    1> meck:new(couch_log_eunit, [non_strict]).
    ok
    2> meck:expect(couch_log_eunit, debug, 2, ok).
    ok
    3> couch_log_eunit:debug(a, b).
    ok
    4> couch_log_eunit:debug(a, b).
    ok
    5> meck:validate(couch_log_eunit).
    true
    ```
    
    Meck's `expect` lays out a contract, not defines the usage flow and meck's 
`validate` "just" confirms that that contract been respected, but not asserts 
in which fashion :)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to