private void Bind() { _messenger.Bind <TEvent>(e => Execute()); }
public void FireASingleEvent() { _sut.Bind <TestEvent>(x => x.EventsFired++); _sut.Fire(_event); Assert.Equal(1, _event.EventsFired); }
private void Bind() { _messenger.Bind <TEvent>(e => Execute()); }
public void FireASingleEvent() { _sut.Bind <TestEvent>(x => x.EventsFired++); _sut.Fire(_event); Assert.Equal(1, _event.EventsFired); }