Example #1
0
 public void GetAuditTrailType_ReturnsCorrectAuditTrailType()
 {
     Assert.Equal(AuditTrailType.Electronic, AttributeHelpers.GetAuditTrailType("ELECTRONIC"));
     Assert.Equal(AuditTrailType.Printed, AttributeHelpers.GetAuditTrailType("PRINTED"));
     Assert.Null(AttributeHelpers.GetAuditTrailType(""));
     Assert.Null(AttributeHelpers.GetAuditTrailType(null));
     Assert.Null(AttributeHelpers.GetAuditTrailType("SOME_RANDOM_STRING"));
 }