func (mock *PackageMock) PathCalls() []struct {} {
	var calls []struct {}
	mock.lockPath.RLock()
	calls = mock.calls.Path
	mock.lockPath.RUnlock()
	return calls
}
PathCalls gets all the calls that were made to Path.
Check the length with:
len(mockedPackage.PathCalls())
package packages
import (
	"sync"
)
var _ Package = &PackageMock{}
type PackageMock struct {
	IsLocalFunc func() bool
	NameFunc func() string
	PathFunc func() string
	URLFunc func() string
	UpdateAvailableFunc func() bool
	calls struct {
		IsLocal []struct {}
		Name []struct {}
		Path []struct {}
		URL []struct {}
		UpdateAvailable []struct {}
	}
	lockIsLocal         sync.RWMutex
	lockName            sync.RWMutex
	lockPath            sync.RWMutex
	lockURL             sync.RWMutex
	lockUpdateAvailable sync.RWMutex
}
func (mock *PackageMock) IsLocal() bool {
	if mock.IsLocalFunc == nil {
		panic("PackageMock.IsLocalFunc: method is nil but Package.IsLocal was just called")
	}
	callInfo := struct {}{}
	mock.lockIsLocal.Lock()
	mock.calls.IsLocal = append(mock.calls.IsLocal, callInfo)
	mock.lockIsLocal.Unlock()
	return mock.IsLocalFunc()
}
func (mock *PackageMock) IsLocalCalls() []struct {} {
	var calls []struct {}
	mock.lockIsLocal.RLock()
	calls = mock.calls.IsLocal
	mock.lockIsLocal.RUnlock()
	return calls
}
func (mock *PackageMock) Name() string {
	if mock.NameFunc == nil {
		panic("PackageMock.NameFunc: method is nil but Package.Name was just called")
	}
	callInfo := struct {}{}
	mock.lockName.Lock()
	mock.calls.Name = append(mock.calls.Name, callInfo)
	mock.lockName.Unlock()
	return mock.NameFunc()
}
func (mock *PackageMock) NameCalls() []struct {} {
	var calls []struct {}
	mock.lockName.RLock()
	calls = mock.calls.Name
	mock.lockName.RUnlock()
	return calls
}
func (mock *PackageMock) Path() string {
	if mock.PathFunc == nil {
		panic("PackageMock.PathFunc: method is nil but Package.Path was just called")
	}
	callInfo := struct {}{}
	mock.lockPath.Lock()
	mock.calls.Path = append(mock.calls.Path, callInfo)
	mock.lockPath.Unlock()
	return mock.PathFunc()
}