diff --git a/pb/plugin/v3/plugin_grpc_test.go b/pb/plugin/v3/plugin_grpc_test.go new file mode 100644 index 0000000..ec43752 --- /dev/null +++ b/pb/plugin/v3/plugin_grpc_test.go @@ -0,0 +1,16 @@ +package plugin //nolint:revive // var-naming: package name conflicts with standard library but is appropriate for this context + +import ( + "context" + "testing" + + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" +) + +func TestUnimplementedAssessTables(t *testing.T) { + _, err := UnimplementedPluginServer{}.AssessTables(context.Background(), &AssessTables_Request{}) + if status.Code(err) != codes.Unimplemented { + t.Errorf("expected %v, got %v", codes.Unimplemented, err) + } +}