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