A

ArrayValuesEqualToTrait — Class in namespace Tailors\PHPUnit
ArrayValuesEqualToTrait::assertThat() — Method in class ArrayValuesEqualToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ArrayValuesEqualToTrait::assertArrayValuesEqualTo() — Method in class ArrayValuesEqualToTrait

Asserts that selected properties of $actual are identical to $expected ones.

ArrayValuesEqualToTrait::assertNotArrayValuesEqualTo() — Method in class ArrayValuesEqualToTrait

Asserts that selected properties of $actual are not identical to $expected ones.

ArrayValuesEqualToTrait::arrayValuesEqualTo() — Method in class ArrayValuesEqualToTrait

Compares selected properties of $actual with $expected ones.

ArrayValuesIdenticalToTrait — Class in namespace Tailors\PHPUnit
ArrayValuesIdenticalToTrait::assertThat() — Method in class ArrayValuesIdenticalToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ArrayValuesIdenticalToTrait::assertArrayValuesIdenticalTo() — Method in class ArrayValuesIdenticalToTrait

Asserts that selected values of $actual array are identical to $expected ones.

ArrayValuesIdenticalToTrait::assertNotArrayValuesIdenticalTo() — Method in class ArrayValuesIdenticalToTrait

Asserts that selected properties of $actual are not identical to $expected ones.

ArrayValuesIdenticalToTrait::arrayValuesIdenticalTo() — Method in class ArrayValuesIdenticalToTrait

Compares selected properties of $actual with $expected ones.

AbstractKsortedConstraint — Class in namespace Tailors\PHPUnit\Arrays

Abstract base class for constraints that compare key-sorted arrays.

ClassPropertiesEqualToTrait::assertThat() — Method in class ClassPropertiesEqualToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ClassPropertiesEqualToTrait::assertClassPropertiesEqualTo() — Method in class ClassPropertiesEqualToTrait

Asserts that selected properties of $class are identical to $expected ones.

ClassPropertiesEqualToTrait::assertNotClassPropertiesEqualTo() — Method in class ClassPropertiesEqualToTrait

Asserts that selected properties of $class are not identical to $expected ones.

ClassPropertiesIdenticalToTrait::assertThat() — Method in class ClassPropertiesIdenticalToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ClassPropertiesIdenticalToTrait::assertClassPropertiesIdenticalTo() — Method in class ClassPropertiesIdenticalToTrait

Asserts that selected properties of $class are identical to $expected ones.

ClassPropertiesIdenticalToTrait::assertNotClassPropertiesIdenticalTo() — Method in class ClassPropertiesIdenticalToTrait

Asserts that selected properties of $class are not identical to $expected ones.

ReferenceStorage::add() — Method in class ReferenceStorage
ComparatorInterface::adjective() — Method in class ComparatorInterface

Returns an adjective that identifies this comparison operator.

EqualityComparator::adjective() — Method in class EqualityComparator

Returns an adjective that identifies this comparison operator.

IdentityComparator::adjective() — Method in class IdentityComparator

Returns an adjective that identifies this comparison operator.

ArrayValuesEqualTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts arrays having values equal to specified ones.

ArrayValuesIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts arrays having values identical to specified ones.

ExtendsClassTrait::assertThat() — Method in class ExtendsClassTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ExtendsClassTrait::assertExtendsClass() — Method in class ExtendsClassTrait

Asserts that $subject extends the class $parent.

ExtendsClassTrait::assertNotExtendsClass() — Method in class ExtendsClassTrait

Asserts that $subject does not extend the class $parent.

HasMethodTrait::assertThat() — Method in class HasMethodTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

HasMethodTrait::assertHasMethod() — Method in class HasMethodTrait

Asserts that $subject has method specified with $methodSpec.

HasMethodTrait::assertNotHasMethod() — Method in class HasMethodTrait

Asserts that $subject has no method specified with $methodSpec.

HasPregCapturesTrait::assertThat() — Method in class HasPregCapturesTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

HasPregCapturesTrait::assertHasPregCaptures() — Method in class HasPregCapturesTrait

Asserts that an array of $matches returned from preg_match() has capture groups as specified in $expected.

HasPregCapturesTrait::assertNotHasPregCaptures() — Method in class HasPregCapturesTrait

Negated assertHasPregCaptures().

ImplementsInterfaceTrait::assertThat() — Method in class ImplementsInterfaceTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ImplementsInterfaceTrait::assertImplementsInterface() — Method in class ImplementsInterfaceTrait

Asserts that $subject implements $interface.

ImplementsInterfaceTrait::assertNotImplementsInterface() — Method in class ImplementsInterfaceTrait

Asserts that $subject does not implement $interface.

AbstractConstraint — Class in namespace Tailors\PHPUnit\Inheritance

Abstract base class for inheritance constraints (ExtendsClass, ImplementsInterface, UsesTrait, etc.).

KsortedArrayEqualToTrait::assertThat() — Method in class KsortedArrayEqualToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

KsortedArrayEqualToTrait::assertKsortedArrayEqualTo() — Method in class KsortedArrayEqualToTrait

Asserts that $actual is an array equal to $expected when key-sorted.

KsortedArrayEqualToTrait::assertNotKsortedArrayEqualTo() — Method in class KsortedArrayEqualToTrait

Asserts that $actual fails to be an array equal to $expected when key-sorted.

KsortedArrayIdenticalToTrait::assertThat() — Method in class KsortedArrayIdenticalToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

KsortedArrayIdenticalToTrait::assertKsortedArrayIdenticalTo() — Method in class KsortedArrayIdenticalToTrait

Asserts that $actual is an array identical to $expected when key-sorted.

KsortedArrayIdenticalToTrait::assertNotKsortedArrayIdenticalTo() — Method in class KsortedArrayIdenticalToTrait

Asserts that $actual fails to be an array identical to $expected when key-sorted.

ObjectPropertiesEqualToTrait::assertThat() — Method in class ObjectPropertiesEqualToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ObjectPropertiesEqualToTrait::assertObjectPropertiesEqualTo() — Method in class ObjectPropertiesEqualToTrait

Asserts that selected properties of $object are identical to $expected ones.

ObjectPropertiesEqualToTrait::assertNotObjectPropertiesEqualTo() — Method in class ObjectPropertiesEqualToTrait

Asserts that selected properties of $object are not identical to $expected ones.

ObjectPropertiesIdenticalToTrait::assertThat() — Method in class ObjectPropertiesIdenticalToTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

ObjectPropertiesIdenticalToTrait::assertObjectPropertiesIdenticalTo() — Method in class ObjectPropertiesIdenticalToTrait

Asserts that selected properties of $object are identical to $expected ones.

ObjectPropertiesIdenticalToTrait::assertNotObjectPropertiesIdenticalTo() — Method in class ObjectPropertiesIdenticalToTrait

Asserts that selected properties of $object are not identical to $expected ones.

CapturesFilterInterface::accepts() — Method in class CapturesFilterInterface

Returns true if $value is a capture group returned by preg_match().

ResultInterface::actual() — Method in class ResultInterface

Returns true if this object represents actual result (as opposite to expected one).

UsesTraitTrait::assertThat() — Method in class UsesTraitTrait

Evaluates a \PHPUnit\Framework\Constraint\Constraint matcher object.

UsesTraitTrait::assertUsesTrait() — Method in class UsesTraitTrait

Asserts that $subject uses $trait.

UsesTraitTrait::assertNotUsesTrait() — Method in class UsesTraitTrait

Asserts that $subject does not use $trait.

AbstractConstraint — Class in namespace Tailors\PHPUnit\Values

Abstract base for constraints that examine values.

AbstractGenericValues — Class in namespace Tailors\PHPUnit\Values

An array of expected values.

AbstractPropertySelector — Class in namespace Tailors\PHPUnit\Values
AbstractValueSelector — Class in namespace Tailors\PHPUnit\Values
AbstractValueSelector::assertSupports() — Method in class AbstractValueSelector
AbstractValues — Class in namespace Tailors\PHPUnit\Values

An array of expected values.

ActualValues — Class in namespace Tailors\PHPUnit\Values

An array of actual values.

ActualValues::actual() — Method in class ActualValues
ArrayValueSelector — Class in namespace Tailors\PHPUnit\Values
ConstraintTestCase::adjective() — Method in class ConstraintTestCase
ExpectedValues::actual() — Method in class ExpectedValues

C

CircularDependencyException — Class in namespace Tailors\PHPUnit
ClassPropertiesEqualToTrait — Class in namespace Tailors\PHPUnit
ClassPropertiesEqualToTrait::classPropertiesEqualTo() — Method in class ClassPropertiesEqualToTrait

Compares selected properties of $class with $expected ones.

ClassPropertiesIdenticalToTrait — Class in namespace Tailors\PHPUnit
ClassPropertiesIdenticalToTrait::classPropertiesIdenticalTo() — Method in class ClassPropertiesIdenticalToTrait

Compares selected properties of $class with $expected ones.

ReferenceStorage::count() — Method in class ReferenceStorage
ReferenceStorage::contains() — Method in class ReferenceStorage
ComparatorInterface — Class in namespace Tailors\PHPUnit\Comparator
ComparatorInterface::compare() — Method in class ComparatorInterface

Compares two values.

EqualityComparator::compare() — Method in class EqualityComparator

Compares two values.

IdentityComparator::compare() — Method in class IdentityComparator

Compares two values.

ClassPropertiesEqualTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts classes having properties equal to specified ones.

ClassPropertiesIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts classes having properties identical to specified ones.

HasMethod::create() — Method in class HasMethod
HasPregCaptures::create() — Method in class HasPregCaptures

Initializes the constraint.

KsortedArrayEqualTo::create() — Method in class KsortedArrayEqualTo
KsortedArrayIdenticalTo::create() — Method in class KsortedArrayIdenticalTo
TestCase::createConstraint() — Method in class TestCase
ConstraintImplementationTrait — Class in namespace Tailors\PHPUnit\Inheritance

Implementation of an inheritance constraint class.

ConstraintImplementationTrait::create() — Method in class ConstraintImplementationTrait
CapturesFilterInterface — Class in namespace Tailors\PHPUnit\Preg
AbstractGenericValues::createActualValues() — Method in class AbstractGenericValues
ClassPropertySelector — Class in namespace Tailors\PHPUnit\Values
ConstraintImplementationTrait — Class in namespace Tailors\PHPUnit\Values
ConstraintImplementationTrait::create() — Method in class ConstraintImplementationTrait
ConstraintTestCase — Class in namespace Tailors\PHPUnit\Values
RecursiveUnwrapperVisitor::cycle() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface::cycle() — Method in class RecursiveVisitorInterface
ValuesInterface::createActualValues() — Method in class ValuesInterface

E

AbstractKsortedConstraint::evaluate() — Method in class AbstractKsortedConstraint

Evaluates the constraint for parameter $other.

Exporter — Class in namespace Tailors\PHPUnit\Common
Exporter::export() — Method in class Exporter
EqualityComparator — Class in namespace Tailors\PHPUnit\Comparator
ExtendsClass — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts classes that extend given class.

HasPregCaptures::evaluate() — Method in class HasPregCaptures

Evaluates the constraint for parameter $other.

TestCase::examineCreateConstraint() — Method in class TestCase
TestCase::examineConstraintUnaryOperatorFailure() — Method in class TestCase

Tests whether the constraint throws expected exception with expected message when wrapped with an unary operator.

TestCase::examineConstraintMatchSucceeds() — Method in class TestCase
TestCase::examineConstraintMatchFails() — Method in class TestCase
TestCase::examineNotConstraintMatchSucceeds() — Method in class TestCase
TestCase::examineNotConstraintMatchFails() — Method in class TestCase
ExceptionInterface — Class in namespace Tailors\PHPUnit
ExtendsClassTrait — Class in namespace Tailors\PHPUnit
ExtendsClassTrait::extendsClass() — Method in class ExtendsClassTrait

Checks objects (an classes) that they extend $parent class.

AbstractConstraint::evaluate() — Method in class AbstractConstraint

Evaluates the constraint for parameter $other.

ConstraintTestCase::examineValuesMatchSucceeds() — Method in class ConstraintTestCase
ConstraintTestCase::examineValuesMatchFails() — Method in class ConstraintTestCase
ConstraintTestCase::examineNotValuesMatchSucceeds() — Method in class ConstraintTestCase
ConstraintTestCase::examineNotValuesMatchFails() — Method in class ConstraintTestCase
ExpectedValues — Class in namespace Tailors\PHPUnit\Values

An array of expected values.

RecursiveUnwrapperVisitor::enter() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface::enter() — Method in class RecursiveVisitorInterface

F

ShortFailureDescriptionTrait::failureDescription() — Method in class ShortFailureDescriptionTrait

Returns the description of the failure.

ShortFailureDescriptionTrait::failureDescriptionInContext() — Method in class ShortFailureDescriptionTrait

Returns the description of the failure when this constraint appears in context of an $operator expression.

HasPregCaptures::failureDescription() — Method in class HasPregCaptures

Returns the description of the failure.

AbstractConstraint::failureDescription() — Method in class AbstractConstraint

Returns the description of the failure.

AbstractConstraint::failureDescriptionInContext() — Method in class AbstractConstraint

Returns the description of the failure when this constraint appears in context of an $operator expression.

InvalidArgumentException::fromBackTrace() — Method in class InvalidArgumentException
InvalidArgumentException::fromFunction() — Method in class InvalidArgumentException
InvalidReturnValueException::fromExpectedTypeAndActualValue() — Method in class InvalidReturnValueException
InvalidReturnValueException::fromExpectedAndActual() — Method in class InvalidReturnValueException
MethodSpecFactory::fromString() — Method in class MethodSpecFactory

Parses string containing method requirement specification.

MethodSpecFactoryInterface::fromString() — Method in class MethodSpecFactoryInterface

Parses string containing method requirement specification.

CapturesFilterInterface::filter() — Method in class CapturesFilterInterface

Filter-out all elements of $array with $this->accepts().

AbstractGenericValues::familyName() — Method in class AbstractGenericValues
AbstractGenericValues::fallbackFamilyString() — Method in class AbstractGenericValues
AbstractValues::familyTag() — Method in class AbstractValues
AbstractValues::familyName() — Method in class AbstractValues
AbstractValues::fallbackFamilyString() — Method in class AbstractValues
RecursiveUnwrapperVisitor::freeStackItem() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface::freeStackItem() — Method in class RecursiveVisitorInterface

G

StaticRandomStrings::get() — Method in class StaticRandomStrings
TestCase::getConstraintClass() — Method in class TestCase

Returns constraint's class name.

MethodSpecInterface::getName() — Method in class MethodSpecInterface

Returns the name of the method being specified.

MethodSpecInterface::getStatic() — Method in class MethodSpecInterface

Returns specification of static modifier.

MethodSpecInterface::getAccess() — Method in class MethodSpecInterface

Returns specification of methods visibility.

MethodSpecInterface::getAbstract() — Method in class MethodSpecInterface

Returns specification of abstract modifier.

MethodSpecInterface::getFinal() — Method in class MethodSpecInterface

Returns specification of final modifier.

AbstractConstraint::getValues() — Method in class AbstractConstraint

Returns an instance of ValuesInterface which defines expected values.

AbstractPropertySelector::getSubjectAttribute() — Method in class AbstractPropertySelector
ClassPropertySelector::getSubjectAttribute() — Method in class ClassPropertySelector
ObjectPropertySelector::getSubjectAttribute() — Method in class ObjectPropertySelector
ValuesWrapperInterface::getValues() — Method in class ValuesWrapperInterface

Returns an instance of ValuesInterface.

H

HasMethod — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts objects, classes, traits and interfaces having given method.

HasPregCaptures — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts arrays of matches returned from preg_match() having capture groups as specified in the array of expectations.

HasMethodTrait — Class in namespace Tailors\PHPUnit
HasMethodTrait::hasMethod() — Method in class HasMethodTrait

Checks if an object, class, trait or interface has given method.

HasPregCapturesTrait — Class in namespace Tailors\PHPUnit
HasPregCapturesTrait::hasPregCaptures() — Method in class HasPregCapturesTrait

Accepts arrays of matches returned from preg_match() having capture groups as specified in $excpected.

I

IdentityComparator — Class in namespace Tailors\PHPUnit\Comparator
ImplementsInterface — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts classes that implement given interface.

ImplementsInterfaceTrait — Class in namespace Tailors\PHPUnit
ImplementsInterfaceTrait::implementsInterface() — Method in class ImplementsInterfaceTrait

Checks classes that they implement $interface.

AbstractConstraint::inheritance() — Method in class AbstractConstraint

Returns an array of "inherited classes" -- eiher interfaces $class implements, parent classes it extends or traits it uses, depending on the actual implementation of this constraint.

ConstraintImplementationTrait::inheritance() — Method in class ConstraintImplementationTrait
InvalidArgumentException — Class in namespace Tailors\PHPUnit
InvalidReturnValueException — Class in namespace Tailors\PHPUnit

K

AbstractKsortedConstraint::ksorted() — Method in class AbstractKsortedConstraint

Returns key-sorted copy of $array.

KsortedArrayEqualTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts arrays equal to specified one when key-sorted.

KsortedArrayIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts arrays identical to specified one when key-sorted.

KsortedArrayEqualToTrait — Class in namespace Tailors\PHPUnit
KsortedArrayEqualToTrait::ksortedArrayEqualTo() — Method in class KsortedArrayEqualToTrait

Compares selected $actual with $expected array after key-sorting both sides.

KsortedArrayIdenticalToTrait — Class in namespace Tailors\PHPUnit
KsortedArrayIdenticalToTrait::ksortedArrayIdenticalTo() — Method in class KsortedArrayIdenticalToTrait

Compares selected $actual with $expected array after key-sorting both sides.

RecursiveUnwrapperStackItem::key() — Method in class RecursiveUnwrapperStackItem
RecursiveVisitorStackItemInterface::key() — Method in class RecursiveVisitorStackItemInterface

L

RecursiveUnwrapperVisitor::leave() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface::leave() — Method in class RecursiveVisitorInterface

M

AbstractKsortedConstraint::matches() — Method in class AbstractKsortedConstraint

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

ArrayValuesEqualTo::makeComparator() — Method in class ArrayValuesEqualTo

Creates instance of EqualityComparator.

ArrayValuesEqualTo::makeSelector() — Method in class ArrayValuesEqualTo

Creates instance of ArrayValueSelector.

ArrayValuesIdenticalTo::makeComparator() — Method in class ArrayValuesIdenticalTo

Creates instance of IdentityComparator.

ArrayValuesIdenticalTo::makeSelector() — Method in class ArrayValuesIdenticalTo

Creates instance of ArrayValueSelector.

ClassPropertiesEqualTo::makeComparator() — Method in class ClassPropertiesEqualTo

Creates instance of EqualityComparator.

ClassPropertiesEqualTo::makeSelector() — Method in class ClassPropertiesEqualTo

Creates instance of ClassPropertySelector.

ClassPropertiesIdenticalTo::makeComparator() — Method in class ClassPropertiesIdenticalTo

Creates instance of IdentityComparator.

ClassPropertiesIdenticalTo::makeSelector() — Method in class ClassPropertiesIdenticalTo

Creates instance of ClassPropertySelector.

HasMethod::matches() — Method in class HasMethod
HasPregCaptures::matches() — Method in class HasPregCaptures

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

ObjectPropertiesEqualTo::makeComparator() — Method in class ObjectPropertiesEqualTo

Creates instance of EqualityComparator.

ObjectPropertiesEqualTo::makeSelector() — Method in class ObjectPropertiesEqualTo

Creates instance of ObjectPropertySelector.

ObjectPropertiesIdenticalTo::makeComparator() — Method in class ObjectPropertiesIdenticalTo

Creates instance of IdentityComparator.

ObjectPropertiesIdenticalTo::makeSelector() — Method in class ObjectPropertiesIdenticalTo

Creates instance of ObjectPropertySelector.

AbstractConstraint::matches() — Method in class AbstractConstraint

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

MethodSpecFactory — Class in namespace Tailors\PHPUnit\Methods
MethodSpecFactoryInterface — Class in namespace Tailors\PHPUnit\Methods
MethodSpecInterface — Class in namespace Tailors\PHPUnit\Methods

Specifies requirements on method including its name and modifiers.

MethodSpecInterface::matches() — Method in class MethodSpecInterface

Returns true, if $method fulfills all requirements.

MethodSpecSyntaxError — Class in namespace Tailors\PHPUnit\Methods

Specifies requirements on method including its name and modifiers.

AbstractConstraint::matches() — Method in class AbstractConstraint

Evaluates the constraint for parameter $other. Returns true if the constraint is met, false otherwise.

ConstraintImplementationTrait::makeSelector() — Method in class ConstraintImplementationTrait

Creates instance of ValueSelectorInterface.

ConstraintImplementationTrait::makeComparator() — Method in class ConstraintImplementationTrait

Creates instance of ComparatorInterface.

ConstraintTestCase::message() — Method in class ConstraintTestCase

Assembles expected failure message out of pieces.

RecursiveUnwrapperVisitor::makeStackItem() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface::makeStackItem() — Method in class RecursiveVisitorInterface

N

AbstractConstraint::negatedVerb() — Method in class AbstractConstraint

Returns short negated description of what we examine, e.g. 'does not impement interface'.

ConstraintImplementationTrait::negatedVerb() — Method in class ConstraintImplementationTrait

Returns short negated description of what we examine, e.g. 'does not impement interface'.

RecursiveUnwrapperStackItem::node() — Method in class RecursiveUnwrapperStackItem
RecursiveVisitorStackItemInterface::node() — Method in class RecursiveVisitorStackItemInterface

O

ObjectPropertiesEqualTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts objects having properties equal to specified ones.

ObjectPropertiesIdenticalTo — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts objects having properties identical to specified ones.

TestCase::operator() — Method in class TestCase
ObjectPropertiesEqualToTrait — Class in namespace Tailors\PHPUnit
ObjectPropertiesEqualToTrait::objectPropertiesEqualTo() — Method in class ObjectPropertiesEqualToTrait

Compares selected properties of $object with $expected ones.

ObjectPropertiesIdenticalToTrait — Class in namespace Tailors\PHPUnit
ObjectPropertiesIdenticalToTrait::objectPropertiesIdenticalTo() — Method in class ObjectPropertiesIdenticalToTrait

Compares selected properties of $object with $expected ones.

ObjectPropertySelector — Class in namespace Tailors\PHPUnit\Values

P

TestCase::precedence() — Method in class TestCase
ConstraintTestCase::provCreateConstraint() — Method in class ConstraintTestCase

R

ReferenceStorage — Class in namespace Tailors\PHPUnit\Common
ReferenceStorage::remove() — Method in class ReferenceStorage
ResultInterface — Class in namespace Tailors\PHPUnit\Result

A constraint evaluation result (either expected, or actual).

RecursiveTraversal — Class in namespace Tailors\PHPUnit\Values
RecursiveTraversalInterface — Class in namespace Tailors\PHPUnit\Values
RecursiveUnwrapperInterface — Class in namespace Tailors\PHPUnit\Values
RecursiveUnwrapperStackItem — Class in namespace Tailors\PHPUnit\Values
RecursiveUnwrapperStackItem::result() — Method in class RecursiveUnwrapperStackItem
RecursiveUnwrapperVisitor — Class in namespace Tailors\PHPUnit\Values
RecursiveUnwrapperVisitor::result() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface — Class in namespace Tailors\PHPUnit\Values
RecursiveVisitorStackItemInterface — Class in namespace Tailors\PHPUnit\Values

S

AbstractKsortedConstraint::supports() — Method in class AbstractKsortedConstraint
ShortFailureDescriptionTrait — Class in namespace Tailors\PHPUnit\Common
StaticRandomStrings — Class in namespace Tailors\PHPUnit\Common

An array of actual or expected values.

StaticTagInterface — Class in namespace Tailors\PHPUnit\Common

An array of actual or expected values.

AbstractConstraint::supports() — Method in class AbstractConstraint

Checks if $subject may be used as an argument to inheritance().

ConstraintImplementationTrait::supports() — Method in class ConstraintImplementationTrait

Checks if $subject may be used as an argument to inheritance().

StringArgumentValidator — Class in namespace Tailors\PHPUnit
AbstractPropertySelector::selectable() — Method in class AbstractPropertySelector

A name for the values being selected from subject (in plural, e.g. "values" or "properties").

AbstractPropertySelector::selectFromSupported() — Method in class AbstractPropertySelector
AbstractPropertySelector::selectWithMethod() — Method in class AbstractPropertySelector
AbstractPropertySelector::selectWithAttribute() — Method in class AbstractPropertySelector
AbstractValueSelector::select() — Method in class AbstractValueSelector
AbstractValueSelector::selectFromSupported() — Method in class AbstractValueSelector
ArrayValueSelector::supports() — Method in class ArrayValueSelector
ArrayValueSelector::subject() — Method in class ArrayValueSelector

Returns short string explaining the type(s) of subjects the selector supports.

ArrayValueSelector::selectable() — Method in class ArrayValueSelector

A name for the values being selected from subject.

ArrayValueSelector::selectFromSupported() — Method in class ArrayValueSelector
ClassPropertySelector::supports() — Method in class ClassPropertySelector
ClassPropertySelector::subject() — Method in class ClassPropertySelector

A short string naming the subject type supported by this selector.

ConstraintTestCase::subject() — Method in class ConstraintTestCase
ConstraintTestCase::selectable() — Method in class ConstraintTestCase
ConstraintTestCase::statement() — Method in class ConstraintTestCase

Assembles a statement which is a part of failure message.

ObjectPropertySelector::supports() — Method in class ObjectPropertySelector
ObjectPropertySelector::subject() — Method in class ObjectPropertySelector

A short string naming the subject type supported by this selector.

RecursiveUnwrapperStackItem::set() — Method in class RecursiveUnwrapperStackItem
ValueSelectorInterface::supports() — Method in class ValueSelectorInterface
ValueSelectorInterface::select() — Method in class ValueSelectorInterface
ValueSelectorInterface::subject() — Method in class ValueSelectorInterface

A short string naming the subject type(s) supported by this selector (e.g. "an array", "an object", "a class", etc.).

ValueSelectorInterface::selectable() — Method in class ValueSelectorInterface

A name for the values being selected from subject (in plural, e.g. "values" or "properties").

T

AbstractKsortedConstraint::toString() — Method in class AbstractKsortedConstraint

Returns a string representation of the constraint.

AbstractKsortedConstraint::toStringInContext() — Method in class AbstractKsortedConstraint

Returns a custom string representation of the constraint object when it appears in context of an $operator expression.

ShortFailureDescriptionTrait::toString() — Method in class ShortFailureDescriptionTrait

Returns a string representation of the constraint.

ShortFailureDescriptionTrait::toStringInContext() — Method in class ShortFailureDescriptionTrait

Returns a custom string representation of the constraint object when it appears in context of an $operator expression.

StaticTagInterface::tag() — Method in class StaticTagInterface
TagInterface — Class in namespace Tailors\PHPUnit\Common

An array of actual or expected values.

TagInterface::tag() — Method in class TagInterface
HasMethod::toString() — Method in class HasMethod

Returns a string representation of the constraint.

HasPregCaptures::toString() — Method in class HasPregCaptures

Returns a string representation of the constraint.

TestCase — Class in namespace Tailors\PHPUnit\Constraint
AbstractConstraint::toString() — Method in class AbstractConstraint

Returns a string representation of the constraint.

AbstractConstraint::toStringInContext() — Method in class AbstractConstraint

Returns a custom string representation of the constraint object when it appears in context of an $operator expression.

MethodSpecInterface::toString() — Method in class MethodSpecInterface

Method specification in human readable form.

AbstractConstraint::toString() — Method in class AbstractConstraint

Returns a string representation of the constraint.

AbstractConstraint::toStringInContext() — Method in class AbstractConstraint

Returns a custom string representation of the constraint object when it appears in context of an $operator expression.

AbstractGenericValues::tag() — Method in class AbstractGenericValues
ConstraintTestCase::testCreateConstraint() — Method in class ConstraintTestCase
ConstraintTestCase::testConstraintUnaryOperatorFailure() — Method in class ConstraintTestCase
RecursiveUnwrapperVisitor::tag() — Method in class RecursiveUnwrapperVisitor

Returns random string generated once per process run.

U

UsesTrait — Class in namespace Tailors\PHPUnit\Constraint

Constraint that accepts classes that extend given class.

UsesTraitTrait — Class in namespace Tailors\PHPUnit
UsesTraitTrait::usesTrait() — Method in class UsesTraitTrait

Checks objects (an classes) that they use given $trait.

RecursiveUnwrapperInterface::unwrap() — Method in class RecursiveUnwrapperInterface

V

ValidateExpectationsTrait — Class in namespace Tailors\PHPUnit\Arrays
ValidateExpectationsTrait::validateExpectations() — Method in class ValidateExpectationsTrait
AbstractConstraint::verb() — Method in class AbstractConstraint

Returns short description of what we examine, e.g. 'impements interface'.

ConstraintImplementationTrait::verb() — Method in class ConstraintImplementationTrait

Returns short description of what we examine, e.g. 'impements interface'.

ValidateExpectationsTrait — Class in namespace Tailors\PHPUnit\Properties
ValidateExpectationsTrait::validateExpectations() — Method in class ValidateExpectationsTrait
StringArgumentValidator::validate() — Method in class StringArgumentValidator
ConstraintImplementationTrait::validateExpectations() — Method in class ConstraintImplementationTrait
RecursiveUnwrapperVisitor::visit() — Method in class RecursiveUnwrapperVisitor
RecursiveVisitorInterface::visit() — Method in class RecursiveVisitorInterface
ValueSelectorInterface — Class in namespace Tailors\PHPUnit\Values
ValuesInterface — Class in namespace Tailors\PHPUnit\Values

An array of values.

ValuesWrapperInterface — Class in namespace Tailors\PHPUnit\Values

W

TestCase::wrapWithUnaryOperator() — Method in class TestCase

Returns $constraint wrapped with an UnaryOperator.

RecursiveTraversal::walk() — Method in class RecursiveTraversal

Walk recursively through $values and unwrap nested instances of ValuesInterface when suitable.

RecursiveTraversalInterface::walk() — Method in class RecursiveTraversalInterface

_

AbstractKsortedConstraint::__construct() — Method in class AbstractKsortedConstraint
ReferenceStorage::__construct() — Method in class ReferenceStorage
HasMethod::__construct() — Method in class HasMethod
TestCase::__construct() — Method in class TestCase
AbstractConstraint::__construct() — Method in class AbstractConstraint

Initializes the constraint.

StringArgumentValidator::__construct() — Method in class StringArgumentValidator
AbstractConstraint::__construct() — Method in class AbstractConstraint
AbstractGenericValues::__construct() — Method in class AbstractGenericValues
AbstractValues::__construct() — Method in class AbstractValues
RecursiveTraversal::__construct() — Method in class RecursiveTraversal

Initializes the object.

RecursiveUnwrapperStackItem::__construct() — Method in class RecursiveUnwrapperStackItem
RecursiveUnwrapperVisitor::__construct() — Method in class RecursiveUnwrapperVisitor