public void ReturnSevenHundredCentimetersFromSevenMeters()
        {
            Mock.Arrange(() => mockedDatabaseAccessor.GetBaseUnitRatioFromUnitName("centimeter")).Returns(.01);

            var unitAdjuster = new UnitAdjuster(mockedDatabaseAccessor);
            var newUnitValue = unitAdjuster.FromBaseUnitAmount(7, "centimeter");

            Assert.AreEqual(700, newUnitValue);
        }
        public void ReturnPointZeroZeroTwoKilogramsFromTwoGrams()
        {
            Mock.Arrange(() => mockedDatabaseAccessor.GetBaseUnitRatioFromUnitName("Kilograms")).Returns(1000);
            var unitAdjuster = new UnitAdjuster(mockedDatabaseAccessor);

            var newUnitValue = unitAdjuster.FromBaseUnitAmount(2, "Kilograms");

            Assert.AreEqual(.002, newUnitValue);
        }
        public void ReturnFourKilometersFromFourThousandMeters()
        {
            Mock.Arrange(() => mockedDatabaseAccessor.GetBaseUnitRatioFromUnitName("kilometer")).Returns(1000);

            var unitAdjuster = new UnitAdjuster(mockedDatabaseAccessor);
            var newUnitValue = unitAdjuster.FromBaseUnitAmount(4000, "kilometer");

            Assert.AreEqual(4, newUnitValue);
        }