package queue_test import ( "context" "queryorchestration/internal/queue" "testing" "github.com/aws/aws-sdk-go-v2/aws" "github.com/aws/aws-sdk-go-v2/service/sqs/types" "github.com/stretchr/testify/assert" ) func TestSend(t *testing.T) { ctx := context.Background() queueConfig, cleanup := createQueue(t, ctx) defer cleanup() err := queue.Send(ctx, queueConfig.Config, "{}", map[string]types.MessageAttributeValue{ "type": { DataType: aws.String("String"), StringValue: aws.String("EXAMPLE_TYPE"), }, }) assert.Nil(t, err) }