ying-hui.the@windev.co.uk (47) [Avatar] Offline
#1

in
public void SetUp()
the line
viewModel = new CountersViewModel(mockCountersService.Object, messenger.Object);
and in
public void ReceivedMessage_LoadsCounters() // Listing 8.35
mockCountersService.Verify(s => s.GetAllCounters());

I temoarily got around the first issue by calling it "service", but that does not work for the second usage.
Jim Bennett (88) [Avatar] Offline
#2
Can you explain more - where in the code are you (which listing etc.)
ying-hui.the@windev.co.uk (47) [Avatar] Offline
#3
Listing 8.34.

Dont understand the muddle I am in.
Jim Bennett (88) [Avatar] Offline
#4
I'm going to need more information before I can help. Can you send me your code?