func (f *FakeImporter) ScanCalled() bool {
	return len(f.ScanCalls) != 0
}
ScanCalled returns true if FakeImporter.Scan was called
package main
import "reflect"
import . "fmt"
import z "strings"
type ImporterScanInvocation struct {
	Parameters struct {
		Ident1 *Scanner
	}
	Results struct {
		Ident2 z.Reader
	}
}
func NewImporterScanInvocation(ident1 *Scanner, ident2 z.Reader) *ImporterScanInvocation {
	invocation := new(ImporterScanInvocation)
	invocation.Parameters.Ident1 = ident1
	invocation.Results.Ident2 = ident2
	return invocation
}
type ImporterTestingT interface {
	Error(...interface{})
	Errorf(string, ...interface{})
	Fatal(...interface{})
	Helper()
}
type FakeImporter struct {
	ScanHook func(*Scanner) z.Reader
	ScanCalls []*ImporterScanInvocation
}
func NewFakeImporterDefaultPanic() *FakeImporter {
	return &FakeImporter{
		ScanHook: func(*Scanner) (ident2 z.Reader) {
			panic("Unexpected call to Importer.Scan")
		},
	}
}
func NewFakeImporterDefaultFatal(t_sym1 ImporterTestingT) *FakeImporter {
	return &FakeImporter{
		ScanHook: func(*Scanner) (ident2 z.Reader) {
			t_sym1.Fatal("Unexpected call to Importer.Scan")
			return
		},
	}
}
func NewFakeImporterDefaultError(t_sym2 ImporterTestingT) *FakeImporter {
	return &FakeImporter{
		ScanHook: func(*Scanner) (ident2 z.Reader) {
			t_sym2.Error("Unexpected call to Importer.Scan")
			return
		},
	}
}
func (f *FakeImporter) Reset() {
	f.ScanCalls = []*ImporterScanInvocation{}
}
func (f_sym3 *FakeImporter) Scan(ident1 *Scanner) (ident2 z.Reader) {
	if f_sym3.ScanHook == nil {
		panic("Importer.Scan() called but FakeImporter.ScanHook is nil")
	}
	invocation_sym3 := new(ImporterScanInvocation)
	f_sym3.ScanCalls = append(f_sym3.ScanCalls, invocation_sym3)
	invocation_sym3.Parameters.Ident1 = ident1
	ident2 = f_sym3.ScanHook(ident1)
	invocation_sym3.Results.Ident2 = ident2
	return
}
func (f_sym4 *FakeImporter) SetScanStub(ident2 z.Reader) {
	f_sym4.ScanHook = func(*Scanner) z.Reader {
		return ident2
	}
}
func (f_sym5 *FakeImporter) SetScanInvocation(calls_sym5 []*ImporterScanInvocation, fallback_sym5 func() z.Reader) {
	f_sym5.ScanHook = func(ident1 *Scanner) (ident2 z.Reader) {
		for _, call_sym5 := range calls_sym5 {
			if reflect.DeepEqual(call_sym5.Parameters.Ident1, ident1) {
				ident2 = call_sym5.Results.Ident2
				return
			}
		}
		return fallback_sym5()
	}
}