public void Test_DisablingSpamCheck() { var mail = BasicMailBuilder .DisableSpamCheck() .Build(); var message = new SendGridMessage(); message.DisableSpamCheck(); Assert.IsFalse(string.IsNullOrEmpty(message.Header.JsonString())); Assert.AreEqual(message.Header.JsonString(), mail.Header.JsonString()); }