// XLockCalls gets all the calls that were made to XLock.
// Check the length with:
//     len(mockedClient.XLockCalls())
XLockCalls gets all the calls that were made to XLock.
Check the length with:
len(mockedClient.XLockCalls())
// XLockCalls gets all the calls that were made to XLock . // Check the length with : // len ( mockedClient . XLockCalls () )
func (mock *ClientMock) XLockCalls() []struct {
	Ctx          context.Context
	ResourceName string
	LockID       string
	Ld           lock.LockDetails
} {
	var calls []struct {
		Ctx          context.Context
		ResourceName string
		LockID       string
		Ld           lock.LockDetails
	}
	mock.lockXLock.RLock()
	calls = mock.calls.XLock
	mock.lockXLock.RUnlock()
	return calls
}
func ( mock * ClientMock ) XLockCalls ( ) [ ] struct { Ctx context . Context ResourceName string LockID string Ld lock . LockDetails } { var calls [ ] struct { Ctx context . Context ResourceName string LockID string Ld lock . LockDetails } mock . lockXLock . RLock ( ) calls = mock . calls . XLock mock . lockXLock . RUnlock ( ) return calls }
XLockCalls gets all the calls that were made to XLock.
XLockCalls gets all the calls that were made to XLock .