public void GetEnvelopeDetect_ReturnsCorrectEnvelopeDetect() { Assert.Equal(EnvelopeDetect.Yes, AttributeHelpers.GetEnvelopeDetect("YES")); Assert.Equal(EnvelopeDetect.No, AttributeHelpers.GetEnvelopeDetect("NO")); Assert.Equal(EnvelopeDetect.Inactive, AttributeHelpers.GetEnvelopeDetect("INACTIVE")); Assert.Null(AttributeHelpers.GetEnvelopeDetect("")); Assert.Null(AttributeHelpers.GetEnvelopeDetect(null)); Assert.Null(AttributeHelpers.GetEnvelopeDetect("SOME_RANDOM_STRING")); }