Example #1
0
 public void GetSignatureVerificationStatus_WithUnknownStatusFlag_ReturnsUnknownStatus()
 {
     Assert.Equal(
         SignatureVerificationStatus.Unknown,
         VerificationUtility.GetSignatureVerificationStatus((SignatureVerificationStatusFlags)(1 << 31)));
 }
Example #2
0
 public void GetSignatureVerificationStatus_WithStatusFlag_ReturnsStatus(
     SignatureVerificationStatusFlags flags,
     SignatureVerificationStatus expectedStatus)
 {
     Assert.Equal(expectedStatus, VerificationUtility.GetSignatureVerificationStatus(flags));
 }