public void Test_NotSet_GetVacuumDegreeInfo_ReturnNull()
        {
            var usageRecord = new UsageRecord();
            var actual      = usageRecord.GetVacuumDegreeInfo();

            Assert.Null(actual);
        }
        public void Test_SetAndGetVacuumDegreeInfo()
        {
            var vacuumDegrees = new List <VacuumDegree>
            {
                new VacuumDegree()
                {
                    System = "IG", Value = 1f, Unit = "torr"
                },
            };

            var usageRecord = new UsageRecord();

            usageRecord.SetVacuumDegreeInfo(vacuumDegrees);
            var actual = usageRecord.GetVacuumDegreeInfo();

            Assert.Equal(vacuumDegrees[0].System, actual[0].System);
            Assert.Equal(vacuumDegrees[0].Value, actual[0].Value);
            Assert.Equal(vacuumDegrees[0].Unit, actual[0].Unit);
        }