// Expect{{.Name}} queues an expectation that {{if .DBMethod}}DB.{{end}}{{.Name}} will be called. func ({{if .DBMethod}}db *DB{{else}}c *Client{{end}}) Expect{{.Name}}() *Expected{{.Name}} { e := &Expected{{.Name}}{ {{ .SetExpectations }} } {{- if .DBMethod }} db.count++ {{- end }} {{if .DBMethod}}db.client{{else}}c{{end}}.expected = append({{if .DBMethod}}db.client{{else}}c{{end}}.expected, e) return e }