public void GetNumberLookupTest() { //Arrange string recipient = "601151174973"; Twizo twizo = new Twizo(apiKey, apiHost); //Act var lookup = twizo.CreateNumberLookup(recipient); lookup.Send(); string messageId = lookup.messageId; var newLookup = twizo.GetNumberLookup(messageId); //Assert Assert.AreEqual(lookup.messageId, newLookup.messageId); }
public TwizoAPI.Entity.NumberLookup Refresh() { Twizo twizo = new Twizo(this.apiKey, this.apiHost); return(twizo.GetNumberLookup(this.messageId)); }