Examination::checkPcrCalculatedValue PHP Method

checkPcrCalculatedValue() public method

public checkPcrCalculatedValue ( $side, $value )
    public function checkPcrCalculatedValue($side, $value)
    {
        $side = $this->getElement(strtolower($side) . 'EyePCRRiskContainer');
        $element = $side->find('xpath', $this->elements['pcrValue']['xpath']);
        if ($element->getText() !== $value) {
            throw new Exception('PCR value does not match');
        }
    }
Examination