public void UpdateWeight_AllPropertiesValid_DoesNotThrowArgumentException()
 {
     //Arrange
     Mock<AccessTokenManagerBaseStub> tokenManager = new Mock<AccessTokenManagerBaseStub>();
     WeightEndpoint weightRequest = new WeightEndpoint(tokenManager.Object, new UsersModel());
     //Act and Assert
     Assert.DoesNotThrow(() => { weightRequest.UpdateWeight(ValidWeight); });
 }
 public void UpdateWeight_AllMeasurementsNull_ArgumentException()
 {
     //Arrange
     Mock<AccessTokenManagerBaseStub> tokenManager = new Mock<AccessTokenManagerBaseStub>();
     WeightEndpoint weightRequest = new WeightEndpoint(tokenManager.Object, new UsersModel());
     //Act
     ValidWeight.Bmi = null;
     ValidWeight.FatPercent = null;
     ValidWeight.FreeMass = null;
     ValidWeight.MassWeight = null;
     ValidWeight.Weight = null;
     //Assert
     Assert.Throws(typeof(ArgumentException), () => { weightRequest.UpdateWeight(ValidWeight); });
 }