about summary refs log tree commit diff
path: root/src/payload-processor/processor/processor_test.go
blob: ee2ef5f42843d9ac04eee30051378b3f6b73cb59 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package processor

import (
	"testing"

	"github.com/segmentio/kafka-go"
	"github.com/stretchr/testify/require"
)

func TestProcessMessage(t *testing.T) {
	processor := Processor{}

	message := []byte("test")

	err := processor.handleMessage(kafka.Message{Value: message})

	require.NoError(t, err)
}