public void GetOperatingMode_ReturnsCorrectOperatingMode() { Assert.Equal(OperatingMode.ManualScan, AttributeHelpers.GetOperatingMode("MANUAL_SCAN")); Assert.Equal(OperatingMode.Modified, AttributeHelpers.GetOperatingMode("MODIFIED")); Assert.Null(AttributeHelpers.GetOperatingMode("")); Assert.Null(AttributeHelpers.GetOperatingMode(null)); Assert.Null(AttributeHelpers.GetOperatingMode("SOME_RANDOM_STRING")); }