Пример #1
0
        public void SiteId()
        {
            var id = ContractProductSiteVolumeReaderStub.ReadSiteId();

            var result = ContractProductSiteVolumeValidator.SiteId(id);

            Assert.AreEqual(2, result);
        }
Пример #2
0
        public void IsSiteIdNotNull()
        {
            var id = ContractProductSiteVolumeReaderStub.ReadSiteId();

            var result = ContractProductSiteVolumeValidator.IsSiteIdNotNull(id);

            Assert.IsTrue(result);
        }
Пример #3
0
        public void SiteIdToLong()
        {
            var id = ContractProductSiteVolumeReaderStub.ReadSiteId();

            var result = ContractProductSiteVolumeValidator.SiteIdToLong(id);

            Assert.AreEqual(typeof(long), result.GetType());
        }