func (e *OpentelemetryTracerMockStartExpectation) Then(c2 context.Context, s1 mm_trace.Span) *OpentelemetryTracerMock {
	e.results = &OpentelemetryTracerMockStartResults{c2, s1}
	return e.mock
}
Then sets up Tracer.Start return parameters for the expectation previously defined by the When method
package templatestests
import (
	"context"
	"sync"
	mm_atomic "sync/atomic"
	mm_time "time"
	"github.com/gojuno/minimock/v3"
	mm_trace "go.opentelemetry.io/otel/trace"
)
type OpentelemetryTracerMock struct {
	t minimock.Tester
	funcStart          func(ctx context.Context, spanName string, opts ...mm_trace.SpanStartOption) (c2 context.Context, s1 mm_trace.Span)
	inspectFuncStart   func(ctx context.Context, spanName string, opts ...mm_trace.SpanStartOption)
	afterStartCounter  uint64
	beforeStartCounter uint64
	StartMock          mOpentelemetryTracerMockStart
}
func NewOpentelemetryTracerMock(t minimock.Tester) *OpentelemetryTracerMock {
	m := &OpentelemetryTracerMock{t: t}
	if controller, ok := t.(minimock.MockController); ok {
		controller.RegisterMocker(m)
	}
	m.StartMock = mOpentelemetryTracerMockStart{mock: m}
	m.StartMock.callArgs = []*OpentelemetryTracerMockStartParams{}
	return m
}
type mOpentelemetryTracerMockStart struct {
	mock               *OpentelemetryTracerMock
	defaultExpectation *OpentelemetryTracerMockStartExpectation
	expectations       []*OpentelemetryTracerMockStartExpectation
	callArgs []*OpentelemetryTracerMockStartParams
	mutex    sync.RWMutex
}
type OpentelemetryTracerMockStartExpectation struct {
	mock    *OpentelemetryTracerMock
	params  *OpentelemetryTracerMockStartParams
	results *OpentelemetryTracerMockStartResults
	Counter uint64
}
type OpentelemetryTracerMockStartParams struct {
	ctx      context.Context
	spanName string
	opts     []mm_trace.SpanStartOption
}
type OpentelemetryTracerMockStartResults struct {
	c2 context.Context
	s1 mm_trace.Span
}
func (mmStart *mOpentelemetryTracerMockStart) Expect(ctx context.Context, spanName string, opts ...mm_trace.SpanStartOption) *mOpentelemetryTracerMockStart {
	if mmStart.mock.funcStart != nil {
		mmStart.mock.t.Fatalf("OpentelemetryTracerMock.Start mock is already set by Set")
	}
	if mmStart.defaultExpectation == nil {
		mmStart.defaultExpectation = &OpentelemetryTracerMockStartExpectation{}
	}
	mmStart.defaultExpectation.params = &OpentelemetryTracerMockStartParams{ctx, spanName, opts}
	for _, e := range mmStart.expectations {
		if minimock.Equal(e.params, mmStart.defaultExpectation.params) {
			mmStart.mock.t.Fatalf("Expectation set by When has same params: %#v", *mmStart.defaultExpectation.params)
		}
	}
	return mmStart
}
func (mmStart *mOpentelemetryTracerMockStart) Inspect(f func(ctx context.Context, spanName string, opts ...mm_trace.SpanStartOption)) *mOpentelemetryTracerMockStart {
	if mmStart.mock.inspectFuncStart != nil {
		mmStart.mock.t.Fatalf("Inspect function is already set for OpentelemetryTracerMock.Start")
	}
	mmStart.mock.inspectFuncStart = f
	return mmStart
}
func (mmStart *mOpentelemetryTracerMockStart) Return(c2 context.Context, s1 mm_trace.Span) *OpentelemetryTracerMock {
	if mmStart.mock.funcStart != nil {
		mmStart.mock.t.Fatalf("OpentelemetryTracerMock.Start mock is already set by Set")
	}
	if mmStart.defaultExpectation == nil {
		mmStart.defaultExpectation = &OpentelemetryTracerMockStartExpectation{mock: mmStart.mock}
	}
	mmStart.defaultExpectation.results = &OpentelemetryTracerMockStartResults{c2, s1}
	return mmStart.mock
}
func (mmStart *mOpentelemetryTracerMockStart) Set(f func(ctx context.Context, spanName string, opts ...mm_trace.SpanStartOption) (c2 context.Context, s1 mm_trace.Span)) *OpentelemetryTracerMock {
	if mmStart.defaultExpectation != nil {
		mmStart.mock.t.Fatalf("Default expectation is already set for the Tracer.Start method")
	}
	if len(mmStart.expectations) > 0 {
		mmStart.mock.t.Fatalf("Some expectations are already set for the Tracer.Start method")
	}
	mmStart.mock.funcStart = f
	return mmStart.mock
}
func (mmStart *mOpentelemetryTracerMockStart) When(ctx context.Context, spanName string, opts ...mm_trace.SpanStartOption) *OpentelemetryTracerMockStartExpectation {
	if mmStart.mock.funcStart != nil {
		mmStart.mock.t.Fatalf("OpentelemetryTracerMock.Start mock is already set by Set")
	}
	expectation := &OpentelemetryTracerMockStartExpectation{
		mock:   mmStart.mock,
		params: &OpentelemetryTracerMockStartParams{ctx, spanName, opts},
	}
	mmStart.expectations = append(mmStart.expectations, expectation)
	return expectation
}