コード例 #1
0
        public void ContractIdToLongType()
        {
            var id = ContractProductReaderStub.ReadContractId();

            var result = ContractProductValidator.ContractIdToLongType(id);

            Assert.AreEqual(typeof(long), result.GetType());
        }
コード例 #2
0
        public void ContractId()
        {
            var id = ContractProductReaderStub.ReadContractId();

            var result = ContractProductValidator.ContractId(id);

            Assert.AreEqual(1, result);
        }
コード例 #3
0
        public void IsContractIdNotNull()
        {
            var id = ContractProductReaderStub.ReadContractId();

            var result = ContractProductValidator.IsContractIdNotNull(id);

            Assert.IsTrue(result);
        }