'Get the expected value.'

def _expected(self, klass, arg):

    if (not arg):
        return None
    elif (klass is configtypes.File):
        return arg
    elif (klass is unrequired_class):
        return arg
    else:
        assert False, klass
