public void GivenUnitOfMeasureSystemWhenGetUnitDimensionsThenUnitDimensionsAreLoaded()
 {
     _unitOfMeasureSystem.UnitOfMeasureRef = new[]
     {
         new UnitSystemUnitOfMeasureSystemUnitOfMeasureRef
         {
             unitOfMeasureRef = "ft"   
         },
         new UnitSystemUnitOfMeasureSystemUnitOfMeasureRef
         {
             unitOfMeasureRef = "gal"   
         }
     };
     var unitOfMeasureSystem = new UnitOfMeasureSystem(_unitOfMeasureSystem, _unitSystemManager);
     Assert.Contains(_unitSystemManager.UnitDimensions["utDistance"], unitOfMeasureSystem.UnitDimensions.ToList());
     Assert.Contains(_unitSystemManager.UnitDimensions["utVolume"], unitOfMeasureSystem.UnitDimensions.ToList());
 }
 public void GivenUnitSystemWhenGetUnitSystemThenUnitSystem()
 {
     _unitOfMeasureSystem.domainID = "umsMetric";
     var unitSystem = new UnitOfMeasureSystem(_unitOfMeasureSystem, _unitSystemManager);
     Assert.AreEqual(Representation.UnitSystem.UnitSystem.umsMetric, unitSystem.UnitSystem);
 }