public void PartitionKey() { Guid applicationId = Guid.NewGuid(); var email = new PlaintextEmailData(applicationId); Assert.AreEqual <string>(applicationId.ToString(), email.PartitionKey); }
public void ApplicationId() { Guid applicationId = Guid.NewGuid(); var email = new PlaintextEmailData(applicationId); Assert.AreEqual <Guid>(applicationId, email.ApplicationId); }
public void Message() { string message = StringHelper.ValidString(); var email = new PlaintextEmailData() { Message = message }; Assert.AreEqual <string>(message, email.Message); }
public void Subject() { string subject = StringHelper.ValidString(); var email = new PlaintextEmailData() { Subject = subject }; Assert.AreEqual <string>(subject, email.Subject); }
public void Recipient() { string recipient = StringHelper.ValidString(); var email = new PlaintextEmailData() { Recipient = recipient }; Assert.AreEqual <string>(recipient, email.Recipient); }
public void Sender() { string sender = StringHelper.ValidString(); var email = new PlaintextEmailData() { Sender = sender }; Assert.AreEqual <string>(sender, email.Sender); }
public void RowKey() { var email = new PlaintextEmailData(Guid.NewGuid()); Assert.IsFalse(string.IsNullOrWhiteSpace(email.RowKey)); }