Beispiel #1
0
 public void Rename(bool loadEventsOnly)
 {
     sut.AssertEvents(
         x =>
     {
         x.Rename("Groceries");
     },
         x =>
     {
         x.Name.Should().Be("Groceries");
     },
         loadEventsOnly,
         new TodoListRenamedEvent("Groceries"));
 }