public void SetEnum_ShouldUpdateEnumValues() { // Prepare // Execute var succeeded = _gSettings.SetEnum("current-state", 2); var state = _gSettings.GetEnum("current-state"); // Validate Assert.True(succeeded); Assert.Equal(2, state); // Reset the value for next tests _gSettings.Reset("current-state"); }