PHPSpec2\Exception\PropertyNotFoundException::__construct PHP Method

__construct() public method

public __construct ( $subject, $property )
    public function __construct($subject, $property)
    {
        $this->subject = $subject;
        $this->property = $property;
        parent::__construct(sprintf('Property <value>%s::%s</value> not found.', get_class($subject), $property));
    }