newContact.AssertWasCalled(x => { var dummy = x.Forenames; }, options => options.Repeat.AtLeastOnce());
Repeat.Any
does not work with AssertWasCalled
because 0 counts as any… so if it WASN’T called, the AsserWasCalled
would return TRUE even if it wasn’t called.