PHP Class spec\Prophecy\Argument\ArgumentsWildcardSpec

Inheritance: extends PhpSpec\ObjectBehavior
Datei anzeigen Open project: phpspec/prophecy

Public Methods

Method Description
it_exposes_list_of_tokens ( Prophecy\Argument\Token\TokenInterface $token )
it_generates_string_representation_from_all_tokens_imploded ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_returns_false_if_there_is_less_arguments_than_tokens ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_returns_false_if_there_is_less_tokens_than_arguments ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_returns_score_of_1_if_there_are_no_tokens_and_arguments ( )
it_should_calculate_score_until_last_token ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_should_return_false_if_one_of_the_tokens_returns_false ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_should_return_match_score_based_on_all_tokens_score ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_wraps_non_token_arguments_into_ExactValueToken ( stdClass $object )

Method Details

it_exposes_list_of_tokens() public method

public it_exposes_list_of_tokens ( Prophecy\Argument\Token\TokenInterface $token )
$token Prophecy\Argument\Token\TokenInterface

it_generates_string_representation_from_all_tokens_imploded() public method

public it_generates_string_representation_from_all_tokens_imploded ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

it_returns_false_if_there_is_less_arguments_than_tokens() public method

public it_returns_false_if_there_is_less_arguments_than_tokens ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

it_returns_false_if_there_is_less_tokens_than_arguments() public method

public it_returns_false_if_there_is_less_tokens_than_arguments ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

it_returns_score_of_1_if_there_are_no_tokens_and_arguments() public method

it_should_calculate_score_until_last_token() public method

public it_should_calculate_score_until_last_token ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

it_should_return_false_if_one_of_the_tokens_returns_false() public method

public it_should_return_false_if_one_of_the_tokens_returns_false ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

it_should_return_match_score_based_on_all_tokens_score() public method

public it_should_return_match_score_based_on_all_tokens_score ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
$token1 Prophecy\Argument\Token\TokenInterface
$token2 Prophecy\Argument\Token\TokenInterface
$token3 Prophecy\Argument\Token\TokenInterface

it_wraps_non_token_arguments_into_ExactValueToken() public method

public it_wraps_non_token_arguments_into_ExactValueToken ( stdClass $object )
$object stdClass