1func (c *driverClient) NoCtx(options driver.Options) error { 2 expected := &ExpectedNoCtx{ 3 commonExpectation: commonExpectation{ 4 options: options, 5 }, 6 7 } 8 if err := c.nextExpectation(expected); err != nil { 9 return err 10 } 11 if expected.callback != nil { 12 return expected.callback(options) 13 } 14 return expected.err 15}