raw_unmarshaler_test.go 279 B

123456789101112131415
  1. // Copyright The OpenTelemetry Authors
  2. // SPDX-License-Identifier: Apache-2.0
  3. package kafkareceiver
  4. import (
  5. "testing"
  6. "github.com/stretchr/testify/assert"
  7. )
  8. func TestNewRawUnmarshaler(t *testing.T) {
  9. um := newRawLogsUnmarshaler()
  10. assert.Equal(t, "raw", um.Encoding())
  11. }