public void SutIsConsumer(MonthViewModelUpdater sut) { Assert.IsAssignableFrom<IMessageConsumer<SoldOutEvent>>(sut); }
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)); }
public void SutIsConsumer(MonthViewModelUpdater sut) { Assert.IsAssignableFrom <IMessageConsumer <SoldOutEvent> >(sut); }