github.com/instana/go-sensor@v1.62.2-0.20240520081010-4919868049e1/acceptor/azure_test.go (about)

     1  // (c) Copyright IBM Corp. 2022
     2  
     3  package acceptor_test
     4  
     5  import (
     6  	"testing"
     7  
     8  	"github.com/instana/go-sensor/acceptor"
     9  	"github.com/stretchr/testify/assert"
    10  )
    11  
    12  func TestAzurePluginPayload(t *testing.T) {
    13  	assert.Equal(t,
    14  		acceptor.PluginPayload{
    15  			Name:     "com.instana.plugin.azure.functionapp",
    16  			EntityID: "test-entity-id",
    17  		},
    18  		acceptor.NewAzurePluginPayload("test-entity-id"))
    19  }