def METHOD_NAME(
    dataset_one: xr.Dataset, dataset_two: xr.Dataset, scheme: Scheme, dataset_group: DatasetGroup
):
    data_provider = DataProviderLinked(scheme, dataset_group)
    assert "dataset1" in data_provider.group_definitions
    assert data_provider.group_definitions["dataset1"] == ["dataset1"]
    assert "dataset2" in data_provider.group_definitions
    assert data_provider.group_definitions["dataset2"] == ["dataset2"]
    assert "dataset1dataset2" in data_provider.group_definitions
    assert data_provider.group_definitions["dataset1dataset2"] == ["dataset1", "dataset2"]
    #  global_axis1 = [1, 5, 6]
    #  global_axis2 = [0, 3, 7, 10]
    assert np.array_equal(data_provider.aligned_global_axis, [1, 3, 5, 6, 10])
    assert data_provider.get_aligned_group_label(0) == "dataset1dataset2"
    assert data_provider.get_aligned_group_label(1) == "dataset2"
    assert data_provider.get_aligned_group_label(2) == "dataset1"
    assert data_provider.get_aligned_group_label(3) == "dataset1dataset2"
    assert data_provider.get_aligned_group_label(4) == "dataset2"
    assert np.array_equal(data_provider.get_aligned_dataset_indices(0), [0, 0])
    assert np.array_equal(data_provider.get_aligned_dataset_indices(1), [1])
    assert np.array_equal(data_provider.get_aligned_dataset_indices(2), [1])
    assert np.array_equal(data_provider.get_aligned_dataset_indices(3), [2, 2])
    assert np.array_equal(data_provider.get_aligned_dataset_indices(4), [3])
    dataset1_size = dataset_one.coords["model"].size
    dataset2_size = dataset_two.coords["model"].size
    assert data_provider.get_aligned_data(0).size == dataset1_size + dataset2_size
    assert data_provider.get_aligned_data(1).size == dataset2_size
    assert data_provider.get_aligned_data(2).size == dataset1_size
    assert data_provider.get_aligned_data(3).size == dataset1_size + dataset2_size
    assert data_provider.get_aligned_data(4).size == dataset2_size
    assert (
        data_provider.get_aligned_weight(0).size  # type:ignore[union-attr]
        == dataset1_size + dataset2_size
    )
    assert data_provider.get_aligned_weight(1) is None
    assert data_provider.get_aligned_weight(2).size == dataset1_size  # type:ignore[union-attr]
    assert (
        data_provider.get_aligned_weight(3).size  # type:ignore[union-attr]
        == dataset1_size + dataset2_size
    )
    assert data_provider.get_aligned_weight(4) is None