// ExpectedBy returns the expectations from another run of the current fixture, recalled by its index in the list of planned runs
ExpectedBy returns the expectations from another run of the current fixture, recalled by its index in the list of planned runs
// ExpectedBy returns the expectations from another run of the current fixture recalled by its index in the list of planned runs
func (f *modelFixture) ExpectedFor(index int, definition string) *modelExpectations {
	if index > len(f.Runs)-1 {
		return nil
	}
	if def, ok := f.Runs[index].Definitions[strings.ToLower(definition)]; ok {
		return def
	}
	return nil
}
func ( f * modelFixture ) ExpectedFor ( index int , definition string ) * modelExpectations { if index > len ( f . Runs ) - 1 { return nil } if def , ok := f . Runs [ index ] . Definitions [ strings . ToLower ( definition ) ] ; ok { return def } return nil }
ExpectedBy returns the expectations from another run of the current fixture, recalled by its index in the list of planned runs
ExpectedBy returns the expectations from another run of the current fixture recalled by its index in the list of planned runs