public void SutIsConsumer(MonthViewModelUpdater sut)
 {
     Assert.IsAssignableFrom<IMessageConsumer<SoldOutEvent>>(sut);
 }
Esempio n. 2
0
 public void ConsumeCorrectlyUpdatesViewStore([Frozen] Mock <IMonthViewWriter> storeMock, MonthViewModelUpdater sut, SoldOutEvent @event)
 {
     sut.Consume(@event);
     storeMock.Verify(s => s.Disable(@event.Date));
 }
 public void ConsumeCorrectlyUpdatesViewStore([Frozen]Mock<IMonthViewWriter> storeMock, MonthViewModelUpdater sut, SoldOutEvent @event)
 {
     sut.Consume(@event);
     storeMock.Verify(s => s.Disable(@event.Date));
 }
Esempio n. 4
0
 public void SutIsConsumer(MonthViewModelUpdater sut)
 {
     Assert.IsAssignableFrom <IMessageConsumer <SoldOutEvent> >(sut);
 }