// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 package cassandraexporter import ( "testing" "github.com/stretchr/testify/assert" "go.opentelemetry.io/collector/component/componenttest" ) func TestCreateDefaultConfig(t *testing.T) { factory := NewFactory() cfg := factory.CreateDefaultConfig() assert.NotNil(t, cfg, "failed to create default config") assert.NoError(t, componenttest.CheckConfigStruct(cfg)) }