Exemple #1
0
        public void VolumeToDecimalType()
        {
            var volume = ContractProductSiteVolumeReaderStub.ReadVolume();

            var result = ContractProductSiteVolumeValidator.VolumeToDecimalType(volume);

            Assert.AreEqual(typeof(decimal), result.GetType());
        }
Exemple #2
0
        public void Volume()
        {
            var volume = ContractProductSiteVolumeReaderStub.ReadVolume();

            var result = ContractProductSiteVolumeValidator.Volume(volume);

            Assert.AreEqual(100, result);
        }
Exemple #3
0
        public void IsVolumeNotNull()
        {
            var volume = ContractProductSiteVolumeReaderStub.ReadVolume();

            var result = ContractProductSiteVolumeValidator.IsVolumeNotNull(volume);

            Assert.IsTrue(result);
        }