spec\LdapTools\Event\LdapAuthenticationEventSpec::let PHP Метод

let() публичный Метод

public let ( )
    function let()
    {
        $this->operation = (new AuthenticationOperation())->setUsername('foo')->setPassword('bar');
        $this->beConstructedWith(Event::LDAP_AUTHENTICATION_BEFORE, $this->operation);
    }