public void ReturnPointZeroOneWhenUnitNameIsCentimeter()
        {
            Mock.Arrange(() => mockedUnitRatio.Ratio).Returns(.001);
             Mock.Arrange(() => mockedContext.UnitRatio.Find("centimeter")).Returns(mockedUnitRatio);

             var databaseAccessor = new DatabaseAccessor(mockedContext);
             var unitRatio = databaseAccessor.GetBaseUnitRatioFromUnitName("centimeter");

             Assert.AreEqual(.001, unitRatio);
        }
        public void ReturnOneThousandWhenUnitNameIsKilogram()
        {
            Mock.Arrange(() => mockedUnitRatio.Ratio).Returns(1000);
             Mock.Arrange(() => mockedContext.UnitRatio.Find("kilogram")).Returns(mockedUnitRatio);

             var databaseAccessor = new DatabaseAccessor(mockedContext);
             var unitRatio = databaseAccessor.GetBaseUnitRatioFromUnitName("kilogram");

             Assert.AreEqual(1000, unitRatio);
        }