Exemplo n.º 1
0
 public void GetBackStreakDetectStatus_ReturnsCorrectBackStreakDetectStatus()
 {
     Assert.Equal(BackStreakDetectStatus.Yes, AttributeHelpers.GetBackStreakDetectStatus("YES"));
     Assert.Equal(BackStreakDetectStatus.No, AttributeHelpers.GetBackStreakDetectStatus("NO"));
     Assert.Equal(BackStreakDetectStatus.Inactive, AttributeHelpers.GetBackStreakDetectStatus("INACTIVE"));
     Assert.Null(AttributeHelpers.GetBackStreakDetectStatus(""));
     Assert.Null(AttributeHelpers.GetBackStreakDetectStatus(null));
     Assert.Null(AttributeHelpers.GetBackStreakDetectStatus("SOME_RANDOM_STRING"));
 }