public void ProtectKeysWithProvidedCertificate_NullBuilder() { Assert.Throws <ArgumentNullException>(() => DataProtectionBuilderExtensions.ProtectKeysWithProvidedCertificate(null, TestCertificate.GetCertificate())); }