public void UpdateSettings_AllPropertiesValid_DoesNotThrowArgumentException()
 {
     //Arrange
     Mock<AccessTokenManagerBaseStub> tokenManager = new Mock<AccessTokenManagerBaseStub>();
     SettingsEndpoint settingsRequest = new SettingsEndpoint(tokenManager.Object, new UsersModel());
     //Act and Assert
     Assert.DoesNotThrow(() => { settingsRequest.UpdateSettings(ValidSettings); });
 }
 public void UpdateSettings_DistanceUnitsNotValid_ArgumentException()
 {
     //Arrange
     Mock<AccessTokenManagerBaseStub> tokenManager = new Mock<AccessTokenManagerBaseStub>();
     SettingsEndpoint settingsRequest = new SettingsEndpoint(tokenManager.Object, new UsersModel());
     //Act and Assert
     ValidSettings.DistanceUnits = "Not valid value.";
     Assert.Throws(typeof(ArgumentException), () => { settingsRequest.UpdateSettings(ValidSettings); });
 }