protected override void When()
        {
            base.When();

            _event = ExpenseCreatedEvent.New()
                .For(Guid.NewGuid())
                .TitleSetTo("Test")
                .Publish();
        }
Пример #2
0
 public Builder()
 {
     _event = new ExpenseCreatedEvent{ EventDate = DateTime.Today};
 }