public static AccountOwner Create(Guid ownerId, string name)
        {
            var accountOwner = new AccountOwner();
            var @event       = new AccountOwnerCreated(ownerId, name);

            accountOwner.Apply(@event);
            accountOwner.Changes.Add(@event);

            return(accountOwner);
        }
 private void When(AccountOwnerCreated accountOwnerCreated)
 {
     Id    = accountOwnerCreated.OwnerId;
     _name = accountOwnerCreated.OwnerName;
 }