// Code generated by mdatagen. DO NOT EDIT.

package configcompression

import (
	"testing"

	"github.com/stretchr/testify/require"
)

func TestTypeValidate_InvalidEnumType(t *testing.T) {
	cfg := Type("__invalid__")

	require.ErrorContains(t, cfg.Validate(), "type must be one of")
}
