func (f *FakeEmbedder) OtherCalledOnce() bool {
	return len(f.OtherCalls) == 1
}
OtherCalledOnce returns true if FakeEmbedder.Other was called exactly once
package main
import "reflect"
type EmbedderStringInvocation struct {
	Results struct {
		Ident5 string
	}
}
type EmbedderEmbedInvocation struct {
	Parameters struct {
		Ident1 string
	}
	Results struct {
		Ident2 string
	}
}
func NewEmbedderEmbedInvocation(ident1 string, ident2 string) *EmbedderEmbedInvocation {
	invocation := new(EmbedderEmbedInvocation)
	invocation.Parameters.Ident1 = ident1
	invocation.Results.Ident2 = ident2
	return invocation
}
type EmbedderOtherInvocation struct {
	Parameters struct {
		Ident1 string
	}
	Results struct {
		Ident2 string
	}
}
func NewEmbedderOtherInvocation(ident1 string, ident2 string) *EmbedderOtherInvocation {
	invocation := new(EmbedderOtherInvocation)
	invocation.Parameters.Ident1 = ident1
	invocation.Results.Ident2 = ident2
	return invocation
}
type EmbedderTestingT interface {
	Error(...interface{})
	Errorf(string, ...interface{})
	Fatal(...interface{})
	Helper()
}
type FakeEmbedder struct {
	StringHook func() string
	EmbedHook  func(string) string
	OtherHook  func(string) string
	StringCalls []*EmbedderStringInvocation
	EmbedCalls  []*EmbedderEmbedInvocation
	OtherCalls  []*EmbedderOtherInvocation
}
func NewFakeEmbedderDefaultPanic() *FakeEmbedder {
	return &FakeEmbedder{
		StringHook: func() (ident5 string) {
			panic("Unexpected call to Embedder.String")
		},
		EmbedHook: func(string) (ident2 string) {
			panic("Unexpected call to Embedder.Embed")
		},
		OtherHook: func(string) (ident2 string) {
			panic("Unexpected call to Embedder.Other")
		},
	}
}
func NewFakeEmbedderDefaultFatal(t_sym1 EmbedderTestingT) *FakeEmbedder {
	return &FakeEmbedder{
		StringHook: func() (ident5 string) {
			t_sym1.Fatal("Unexpected call to Embedder.String")
			return
		},
		EmbedHook: func(string) (ident2 string) {
			t_sym1.Fatal("Unexpected call to Embedder.Embed")
			return
		},
		OtherHook: func(string) (ident2 string) {
			t_sym1.Fatal("Unexpected call to Embedder.Other")
			return
		},
	}
}
func NewFakeEmbedderDefaultError(t_sym2 EmbedderTestingT) *FakeEmbedder {
	return &FakeEmbedder{
		StringHook: func() (ident5 string) {
			t_sym2.Error("Unexpected call to Embedder.String")
			return
		},
		EmbedHook: func(string) (ident2 string) {
			t_sym2.Error("Unexpected call to Embedder.Embed")
			return
		},
		OtherHook: func(string) (ident2 string) {
			t_sym2.Error("Unexpected call to Embedder.Other")
			return
		},
	}
}
func (f *FakeEmbedder) Reset() {
	f.StringCalls = []*EmbedderStringInvocation{}
	f.EmbedCalls = []*EmbedderEmbedInvocation{}
	f.OtherCalls = []*EmbedderOtherInvocation{}
}
func (f_sym3 *FakeEmbedder) String() (ident5 string) {
	if f_sym3.StringHook == nil {
		panic("Embedder.String() called but FakeEmbedder.StringHook is nil")
	}
	invocation_sym3 := new(EmbedderStringInvocation)
	f_sym3.StringCalls = append(f_sym3.StringCalls, invocation_sym3)
	ident5 = f_sym3.StringHook()
	invocation_sym3.Results.Ident5 = ident5
	return
}
func (f_sym4 *FakeEmbedder) SetStringStub(ident5 string) {
	f_sym4.StringHook = func() string {
		return ident5
	}
}
func (f *FakeEmbedder) StringCalled() bool {
	return len(f.StringCalls) != 0
}
func (f *FakeEmbedder) AssertStringCalled(t EmbedderTestingT) {
	t.Helper()
	if len(f.StringCalls) == 0 {
		t.Error("FakeEmbedder.String not called, expected at least one")
	}
}
func (f *FakeEmbedder) StringNotCalled() bool {
	return len(f.StringCalls) == 0
}
func (f *FakeEmbedder) AssertStringNotCalled(t EmbedderTestingT) {
	t.Helper()
	if len(f.StringCalls) != 0 {
		t.Error("FakeEmbedder.String called, expected none")
	}
}
func (f *FakeEmbedder) StringCalledOnce() bool {
	return len(f.StringCalls) == 1
}
func (f *FakeEmbedder) AssertStringCalledOnce(t EmbedderTestingT) {
	t.Helper()
	if len(f.StringCalls) != 1 {
		t.Errorf("FakeEmbedder.String called %d times, expected 1", len(f.StringCalls))
	}
}
func (f *FakeEmbedder) StringCalledN(n int) bool {
	return len(f.StringCalls) >= n
}
func (f *FakeEmbedder) AssertStringCalledN(t EmbedderTestingT, n int) {
	t.Helper()
	if len(f.StringCalls) < n {
		t.Errorf("FakeEmbedder.String called %d times, expected >= %d", len(f.StringCalls), n)
	}
}
func (f_sym5 *FakeEmbedder) Embed(ident1 string) (ident2 string) {
	if f_sym5.EmbedHook == nil {
		panic("Embedder.Embed() called but FakeEmbedder.EmbedHook is nil")
	}
	invocation_sym5 := new(EmbedderEmbedInvocation)
	f_sym5.EmbedCalls = append(f_sym5.EmbedCalls, invocation_sym5)
	invocation_sym5.Parameters.Ident1 = ident1
	ident2 = f_sym5.EmbedHook(ident1)
	invocation_sym5.Results.Ident2 = ident2
	return
}
func (f_sym6 *FakeEmbedder) SetEmbedStub(ident2 string) {
	f_sym6.EmbedHook = func(string) string {
		return ident2
	}
}
func (f_sym7 *FakeEmbedder) SetEmbedInvocation(calls_sym7 []*EmbedderEmbedInvocation, fallback_sym7 func() string) {
	f_sym7.EmbedHook = func(ident1 string) (ident2 string) {
		for _, call_sym7 := range calls_sym7 {
			if reflect.DeepEqual(call_sym7.Parameters.Ident1, ident1) {
				ident2 = call_sym7.Results.Ident2
				return
			}
		}
		return fallback_sym7()
	}
}
func (f *FakeEmbedder) EmbedCalled() bool {
	return len(f.EmbedCalls) != 0
}
func (f *FakeEmbedder) AssertEmbedCalled(t EmbedderTestingT) {
	t.Helper()
	if len(f.EmbedCalls) == 0 {
		t.Error("FakeEmbedder.Embed not called, expected at least one")
	}
}
func (f *FakeEmbedder) EmbedNotCalled() bool {
	return len(f.EmbedCalls) == 0
}
func (f *FakeEmbedder) AssertEmbedNotCalled(t EmbedderTestingT) {
	t.Helper()
	if len(f.EmbedCalls) != 0 {
		t.Error("FakeEmbedder.Embed called, expected none")
	}
}
func (f *FakeEmbedder) EmbedCalledOnce() bool {
	return len(f.EmbedCalls) == 1
}
func (f *FakeEmbedder) AssertEmbedCalledOnce(t EmbedderTestingT) {
	t.Helper()
	if len(f.EmbedCalls) != 1 {
		t.Errorf("FakeEmbedder.Embed called %d times, expected 1", len(f.EmbedCalls))
	}
}
func (f *FakeEmbedder) EmbedCalledN(n int) bool {
	return len(f.EmbedCalls) >= n
}
func (f *FakeEmbedder) AssertEmbedCalledN(t EmbedderTestingT, n int) {
	t.Helper()
	if len(f.EmbedCalls) < n {
		t.Errorf("FakeEmbedder.Embed called %d times, expected >= %d", len(f.EmbedCalls), n)
	}
}
func (f_sym8 *FakeEmbedder) EmbedCalledWith(ident1 string) bool {
	for _, call_sym8 := range f_sym8.EmbedCalls {
		if reflect.DeepEqual(call_sym8.Parameters.Ident1, ident1) {
			return true
		}
	}
	return false
}
func (f_sym9 *FakeEmbedder) AssertEmbedCalledWith(t EmbedderTestingT, ident1 string) {
	t.Helper()
	var found_sym9 bool
	for _, call_sym9 := range f_sym9.EmbedCalls {
		if reflect.DeepEqual(call_sym9.Parameters.Ident1, ident1) {
			found_sym9 = true
			break
		}
	}
	if !found_sym9 {
		t.Error("FakeEmbedder.Embed not called with expected parameters")
	}
}
func (f_sym10 *FakeEmbedder) EmbedCalledOnceWith(ident1 string) bool {
	var count_sym10 int
	for _, call_sym10 := range f_sym10.EmbedCalls {
		if reflect.DeepEqual(call_sym10.Parameters.Ident1, ident1) {
			count_sym10++
		}
	}
	return count_sym10 == 1
}
func (f_sym11 *FakeEmbedder) AssertEmbedCalledOnceWith(t EmbedderTestingT, ident1 string) {
	t.Helper()
	var count_sym11 int
	for _, call_sym11 := range f_sym11.EmbedCalls {
		if reflect.DeepEqual(call_sym11.Parameters.Ident1, ident1) {
			count_sym11++
		}
	}
	if count_sym11 != 1 {
		t.Errorf("FakeEmbedder.Embed called %d times with expected parameters, expected one", count_sym11)
	}
}
func (f_sym12 *FakeEmbedder) EmbedResultsForCall(ident1 string) (ident2 string, found_sym12 bool) {
	for _, call_sym12 := range f_sym12.EmbedCalls {
		if reflect.DeepEqual(call_sym12.Parameters.Ident1, ident1) {
			ident2 = call_sym12.Results.Ident2
			found_sym12 = true
			break
		}
	}
	return
}
func (f_sym13 *FakeEmbedder) Other(ident1 string) (ident2 string) {
	if f_sym13.OtherHook == nil {
		panic("Embedder.Other() called but FakeEmbedder.OtherHook is nil")
	}
	invocation_sym13 := new(EmbedderOtherInvocation)
	f_sym13.OtherCalls = append(f_sym13.OtherCalls, invocation_sym13)
	invocation_sym13.Parameters.Ident1 = ident1
	ident2 = f_sym13.OtherHook(ident1)
	invocation_sym13.Results.Ident2 = ident2
	return
}
func (f_sym14 *FakeEmbedder) SetOtherStub(ident2 string) {
	f_sym14.OtherHook = func(string) string {
		return ident2
	}
}
func (f_sym15 *FakeEmbedder) SetOtherInvocation(calls_sym15 []*EmbedderOtherInvocation, fallback_sym15 func() string) {
	f_sym15.OtherHook = func(ident1 string) (ident2 string) {
		for _, call_sym15 := range calls_sym15 {
			if reflect.DeepEqual(call_sym15.Parameters.Ident1, ident1) {
				ident2 = call_sym15.Results.Ident2
				return
			}
		}
		return fallback_sym15()
	}
}
func (f *FakeEmbedder) OtherCalled() bool {
	return len(f.OtherCalls) != 0
}
func (f *FakeEmbedder) AssertOtherCalled(t EmbedderTestingT) {
	t.Helper()
	if len(f.OtherCalls) == 0 {
		t.Error("FakeEmbedder.Other not called, expected at least one")
	}
}
func (f *FakeEmbedder) OtherNotCalled() bool {
	return len(f.OtherCalls) == 0
}
func (f *FakeEmbedder) AssertOtherNotCalled(t EmbedderTestingT) {
	t.Helper()
	if len(f.OtherCalls) != 0 {
		t.Error("FakeEmbedder.Other called, expected none")
	}
}