couldn't load source package: ... cannot use &MockBooking{} (value of type MockBooking) as BookingIface value in variable declaration: MockBooking does not implement BookingIface (missing method UpdateIBooking)
And it's quite expected as I've just added a new method in BookingIface.
Is this behavior expected by Moq?
I have a mock generated by Moq. When I try to run
I have got an error like:
And it's quite expected as I've just added a new method in
BookingIface
.Is this behavior expected by Moq?