

package resources

import (
	"testing"

	"github.com/google/go-cmp/cmp"
)

func TestGetLabels(t *testing.T) {
	want := map[string]string{
		"google-source":      "controller",
		"google-source-name": "receive-adapter-name",
	}
	got := Labels("receive-adapter-name")

	if diff := cmp.Diff(want, got); diff != "" {
		t.Errorf("unexpected (-want, +got) = %v", diff)
	}
}
