public void UpdateMeasurement_AllMeasurementsNull_ArgumentException()
        {
            //Arrange
            Mock <AccessTokenManagerBaseStub> tokenManager       = new Mock <AccessTokenManagerBaseStub>();
            GeneralMeasurementsEndpoint       measurementRequest = new GeneralMeasurementsEndpoint(tokenManager.Object, new UsersModel());

            //Act
            ValidMeasurement.BloodCalcium     = null;
            ValidMeasurement.BloodChromium    = null;
            ValidMeasurement.BloodFolicAcid   = null;
            ValidMeasurement.BloodMagnesium   = null;
            ValidMeasurement.BloodPotassium   = null;
            ValidMeasurement.BloodSodium      = null;
            ValidMeasurement.BloodVitaminB12  = null;
            ValidMeasurement.BloodZinc        = null;
            ValidMeasurement.CreatineKinase   = null;
            ValidMeasurement.Crp              = null;
            ValidMeasurement.Diastolic        = null;
            ValidMeasurement.Ferritin         = null;
            ValidMeasurement.Hdl              = null;
            ValidMeasurement.Hscrp            = null;
            ValidMeasurement.Il6              = null;
            ValidMeasurement.Ldl              = null;
            ValidMeasurement.RestingHeartrate = null;
            ValidMeasurement.Systolic         = null;
            ValidMeasurement.Testosterone     = null;
            ValidMeasurement.TotalCholesterol = null;
            ValidMeasurement.Tsh              = null;
            ValidMeasurement.UricAcid         = null;
            ValidMeasurement.VitaminD         = null;
            ValidMeasurement.WhiteCellCount   = null;
            //Assert
            Assert.Throws(typeof(ArgumentException), () => { measurementRequest.UpdateMeasurement(ValidMeasurement); });
        }
        public void UpdateMeasurement_AllPropertiesValid_DoesNotThrowArgumentException()
        {
            //Arrange
            Mock <AccessTokenManagerBaseStub> tokenManager       = new Mock <AccessTokenManagerBaseStub>();
            GeneralMeasurementsEndpoint       measurementRequest = new GeneralMeasurementsEndpoint(tokenManager.Object, new UsersModel());

            //Act and Assert
            Assert.DoesNotThrow(() => { measurementRequest.UpdateMeasurement(ValidMeasurement); });
        }