/home/techb158/dev.balacoffee.com/vendor/mockery/mockery/docs/cookbook
NameSizeModeActions
big_parent_class.rst16720644editdlrm
class_constants.rst46760644editdlrm
default_expectations.rst7570644editdlrm
detecting_mock_objects.rst3940644editdlrm
index.rst2730644editdlrm
map.rst.inc2750644editdlrm
mockery_on.rst30510644editdlrm
mocking_class_within_class.rst44130644editdlrm
mocking_hard_dependencies.rst44720644editdlrm
not_calling_the_constructor.rst21520644editdlrm
Edit: /home/techb158/dev.balacoffee.com/vendor/mockery/mockery/docs/cookbook/detecting_mock_objects.rst (394B)
.. index:: single: Cookbook; Detecting Mock Objects Detecting Mock Objects ====================== Users may find it useful to check whether a given object is a real object or a simulated Mock Object. All Mockery mocks implement the ``\Mockery\MockInterface`` interface which can be used in a type check. .. code-block:: php assert($mightBeMocked instanceof \Mockery\MockInterface);