PHP Class spec\Prophecy\Argument\Token\LogicalAndTokenSpec

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

Public Methods

Method Description
it_does_not_score_if_either_of_tokens_does_not_score ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2 )
it_does_not_score_if_there_are_no_arguments_or_tokens ( )
it_generates_string_representation_from_all_tokens_imploded ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2, Prophecy\Argument\Token\TokenInterface $token3 )
it_implements_TokenInterface ( )
it_is_not_last ( )
it_scores_the_maximum_score_from_all_scores_returned_by_tokens ( Prophecy\Argument\Token\TokenInterface $token1, Prophecy\Argument\Token\TokenInterface $token2 )
it_wraps_non_token_arguments_into_ExactValueToken ( )

Method Details

it_does_not_score_if_either_of_tokens_does_not_score() public method

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

it_does_not_score_if_there_are_no_arguments_or_tokens() public method

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_implements_TokenInterface() public method

it_is_not_last() public method

public it_is_not_last ( )

it_scores_the_maximum_score_from_all_scores_returned_by_tokens() public method

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

it_wraps_non_token_arguments_into_ExactValueToken() public method