code: func (f *FakeDockerClient) InspectImageByRef(name string) (*dockertypes.ImageInspect, error) {
  	f.Lock()
  	defer f.Unlock()
  	f.appendCalled(CalledDetail{name: "inspect_image"})
  	if err := f.popError("inspect_image"); err != nil {
  		return nil, err
  	}
  	if result, ok := f.ImageInspects[name]; ok {
  		return result, nil
  	}
  	return nil, ImageNotFoundError{name}
  }
docs: // InspectImageByRef is a test-spy implementation of Interface.InspectImageByRef.
  // It adds an entry "inspect" to the internal method call record.