public void ConvertTest()
        {
            var converter = new DoubleToIntegerConverter();
            const double Expected = 12.34;

            var actual = converter.Convert(Expected, null, null, CultureInfo.InvariantCulture);

            Assert.AreEqual(Expected, actual);
        }
 public void WhenCalledConvert_ReturnsValue()
 {
     const double value = 123.4567;
     var doubleToIntegerConverter = new DoubleToIntegerConverter();
     Assert.AreEqual(value, doubleToIntegerConverter.Convert(value, null, null, null));
 }