Example #1
0
 public void GetRescanStatus_ReturnsCorrectItemStatus()
 {
     Assert.Equal(RescanStatus.Rescan, AttributeHelpers.GetRescanStatus("RESCAN"));
     Assert.Equal(RescanStatus.NotRescan, AttributeHelpers.GetRescanStatus("NOT_RESCAN"));
     Assert.Null(AttributeHelpers.GetRescanStatus(""));
     Assert.Null(AttributeHelpers.GetRescanStatus(null));
     Assert.Null(AttributeHelpers.GetRescanStatus("SOME_RANDOM_STRING"));
 }