public void Get_invoice_addresses() { payer.InvoiceSettings.SendToMinimail = true; payer.ContactGroupOwner .AddContactGroup(ContactGroupType.Invoice) .AddContact(ContactType.Email, "*****@*****.**"); var client = new Client(payer, Data.DefaultRegion) { Id = 1, }; payer.Clients.Add(client); var addresses = payer.GetInvocesAddress(); Assert.That(addresses, Is.EqualTo("*****@*****.**")); }