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/  Your IP : 172.18.0.1   [ Reverse IP ]
Web Server : Apache/2.4.38 (Debian)
System : Linux a1822d00732a 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64
User : www-data ( 33)
PHP Version : 7.1.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/iNewsl/vendor/phpspec/prophecy/spec/Prophecy/Argument/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/iNewsl/vendor/phpspec/prophecy/spec/Prophecy/Argument/ArgumentsWildcardSpec.php
<?php

namespace spec\Prophecy\Argument;

use PhpSpec\ObjectBehavior;
use Prophecy\Argument\Token\TokenInterface;

class ArgumentsWildcardSpec extends ObjectBehavior
{
    /**
     * @param \stdClass $object
     */
    function it_wraps_non_token_arguments_into_ExactValueToken($object)
    {
        $this->beConstructedWith(array(42, 'zet', $object));

        $class = get_class($object->getWrappedObject());
        $hash  = spl_object_hash($object->getWrappedObject());

        $this->__toString()->shouldReturn("exact(42), exact(\"zet\"), exact($class:$hash Object (\n    'objectProphecy' => Prophecy\Prophecy\ObjectProphecy Object (*Prophecy*)\n))");
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token1
     * @param \Prophecy\Argument\Token\TokenInterface $token2
     * @param \Prophecy\Argument\Token\TokenInterface $token3
     */
    function it_generates_string_representation_from_all_tokens_imploded($token1, $token2, $token3)
    {
        $token1->__toString()->willReturn('token_1');
        $token2->__toString()->willReturn('token_2');
        $token3->__toString()->willReturn('token_3');

        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->__toString()->shouldReturn('token_1, token_2, token_3');
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token
     */
    function it_exposes_list_of_tokens($token)
    {
        $this->beConstructedWith(array($token));

        $this->getTokens()->shouldReturn(array($token));
    }

    function it_returns_score_of_1_if_there_are_no_tokens_and_arguments()
    {
        $this->beConstructedWith(array());

        $this->scoreArguments(array())->shouldReturn(1);
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token1
     * @param \Prophecy\Argument\Token\TokenInterface $token2
     * @param \Prophecy\Argument\Token\TokenInterface $token3
     */
    function it_should_return_match_score_based_on_all_tokens_score($token1, $token2, $token3)
    {
        $token1->scoreArgument('one')->willReturn(3);
        $token1->isLast()->willReturn(false);
        $token2->scoreArgument(2)->willReturn(5);
        $token2->isLast()->willReturn(false);
        $token3->scoreArgument($obj = new \stdClass())->willReturn(10);
        $token3->isLast()->willReturn(false);

        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->scoreArguments(array('one', 2, $obj))->shouldReturn(18);
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token1
     * @param \Prophecy\Argument\Token\TokenInterface $token2
     * @param \Prophecy\Argument\Token\TokenInterface $token3
     */
    function it_returns_false_if_there_is_less_arguments_than_tokens($token1, $token2, $token3)
    {
        $token1->scoreArgument('one')->willReturn(3);
        $token1->isLast()->willReturn(false);
        $token2->scoreArgument(2)->willReturn(5);
        $token2->isLast()->willReturn(false);
        $token3->scoreArgument(null)->willReturn(false);
        $token3->isLast()->willReturn(false);

        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->scoreArguments(array('one', 2))->shouldReturn(false);
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token1
     * @param \Prophecy\Argument\Token\TokenInterface $token2
     * @param \Prophecy\Argument\Token\TokenInterface $token3
     */
    function it_returns_false_if_there_is_less_tokens_than_arguments($token1, $token2, $token3)
    {
        $token1->scoreArgument('one')->willReturn(3);
        $token1->isLast()->willReturn(false);
        $token2->scoreArgument(2)->willReturn(5);
        $token2->isLast()->willReturn(false);
        $token3->scoreArgument($obj = new \stdClass())->willReturn(10);
        $token3->isLast()->willReturn(false);

        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->scoreArguments(array('one', 2, $obj, 4))->shouldReturn(false);
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token1
     * @param \Prophecy\Argument\Token\TokenInterface $token2
     * @param \Prophecy\Argument\Token\TokenInterface $token3
     */
    function it_should_return_false_if_one_of_the_tokens_returns_false($token1, $token2, $token3)
    {
        $token1->scoreArgument('one')->willReturn(3);
        $token1->isLast()->willReturn(false);
        $token2->scoreArgument(2)->willReturn(false);
        $token2->isLast()->willReturn(false);
        $token3->scoreArgument($obj = new \stdClass())->willReturn(10);
        $token3->isLast()->willReturn(false);

        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->scoreArguments(array('one', 2, $obj))->shouldReturn(false);
    }

    /**
     * @param \Prophecy\Argument\Token\TokenInterface $token1
     * @param \Prophecy\Argument\Token\TokenInterface $token2
     * @param \Prophecy\Argument\Token\TokenInterface $token3
     */
    function it_should_calculate_score_until_last_token($token1, $token2, $token3)
    {
        $token1->scoreArgument('one')->willReturn(3);
        $token1->isLast()->willReturn(false);

        $token2->scoreArgument(2)->willReturn(7);
        $token2->isLast()->willReturn(true);

        $token3->scoreArgument($obj = new \stdClass())->willReturn(10);
        $token3->isLast()->willReturn(false);

        $this->beConstructedWith(array($token1, $token2, $token3));
        $this->scoreArguments(array('one', 2, $obj))->shouldReturn(10);
    }
}

Anon7 - 2022
AnonSec Team