Skip to content

Commit

Permalink
add short docs about shouldNotReceive
Browse files Browse the repository at this point in the history
  • Loading branch information
robertbasic committed Feb 13, 2015
1 parent 5723f52 commit c24dc43
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/reference/expectations.rst
Expand Up @@ -41,6 +41,12 @@ a set of operations which are recorded as expectations on the partial mock. A
simple use case is automatically recording expectations based on an existing
usage (e.g. during refactoring). See examples in a later section.

.. code-block:: php
shouldNotReceive(method_name)
Declares that the mock should not expect a call to the given method name.

.. code-block:: php
with(arg1, arg2, ...) / withArgs(array(arg1, arg2, ...))
Expand Down

0 comments on commit c24dc43

Please sign in to comment.