PHP Class Scalr\Tests\Functional\Api\V2\SpecSchema\Constraint\ResponseBodyConstraint

Since: 5.11 (03.12.2015)
Author: Andrii Penchuk ([email protected])
Inheritance: extends PHPUnit_Framework_Constraint
Show file Open project: scalr/scalr

Public Properties

Property Type Description
$specObject Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes\AbstractSpecObject
$validator Validator

Public Methods

Method Description
__construct ( AbstractSpecObject $specObject ) ResponseBodyConstraint constructor.
toString ( )

Protected Methods

Method Description
additionalFailureDescription ( $other )
matches ( $other )

Method Details

__construct() public method

ResponseBodyConstraint constructor.
public __construct ( AbstractSpecObject $specObject )
$specObject Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes\AbstractSpecObject

additionalFailureDescription() protected method

See also: PHPUnit_Framework_Constraint::additionalFailureDescription()
protected additionalFailureDescription ( $other )

matches() protected method

See also: PHPUnit_Framework_Constraint::matches()
protected matches ( $other )

toString() public method

See also: PHPUnit_Framework_Constraint::toString()
public toString ( )

Property Details

$specObject public property

public AbstractSpecObject,Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes $specObject
return Scalr\Tests\Functional\Api\V2\SpecSchema\DataTypes\AbstractSpecObject

$validator public property

public Validator,Scalr\Tests\Functional\Api\V2\SpecSchema\Constraint $validator
return Validator