protected function validateFieldVoteSubject(FieldVote $fieldVote)
    {
        $object = $fieldVote->getSubject()->getObject();

        if (!\is_object($object)) {
            throw new UnexpectedTypeException($object, 'object');
        }

        return $object;
    }