public void Handle(AccountOpened accountOpened) { HandleAccountOpenedCallCount++; HandleAccountOpenedArgument = accountOpened; HandleAccountIsReplaying = IsReplaying; }
public void OpenAccount(OpenAccount command) { AccountOpened accountOpened = new AccountOpened(1, command.Owner); RaiseEvent(accountOpened); }