protected function isExpected($value)
    {
        if ($expected = $this->getValue()) {
            $this->setActualValue($value);

            return $this->getActualValue() === $expected;
        }

        return true;
    }