def make_test_config(contexts, clusters, users, current_context):
    """
    Return a KubeConfig dict constructed with the given info
    
    All parameters are required.
    """
    return {
        'apiVersion': 'v1', 'kind': 'Config',
        'clusters': [{'name': key, 'cluster': value} for key, value in clusters.items()],
        'contexts': [{'name': key, 'context': value} for key, value in contexts.items()],
        'users': [{'name': key, 'user': value} for key, value in users.items()],
        'current-context': current_context
    }