public void GetContactByEmail() { var sendinblueApi = new SendinblueAPI(APIKEY); var contact = sendinblueApi.GetContactByEmail(Email); Assert.NotNull(contact); }
public void GetContacts() { var sendinblueApi = new SendinblueAPI(APIKEY); var contacts = sendinblueApi.GetContacts(); Assert.NotNull(contacts); }
public void GetSenders() { var sendinblueApi = new SendinblueAPI(APIKEY); var senders = sendinblueApi.GetSenders(); Assert.NotNull(senders); }
public void GetAccount() { var sendinblueApi = new SendinblueAPI(APIKEY); var account = sendinblueApi.GetAccount(); Assert.NotNull(account); }
public void CreateInstance() { var apiKey = "apikey"; var sendinblueApi = new SendinblueAPI(apiKey); Assert.NotNull(sendinblueApi); Assert.Equal(apiKey, sendinblueApi.ApiKey); }
public void CreateInstanceWithTimeOut() { var apiKey = "apikey"; var apiTimeout = 3000; var sendinblueApi = new SendinblueAPI(apiKey, apiTimeout); Assert.NotNull(sendinblueApi); Assert.Equal(apiKey, sendinblueApi.ApiKey); Assert.Equal(apiTimeout, sendinblueApi.ApiTimeout); }