public void ProductIdToLongType() { var id = ContractProductReaderStub.ReadProductId(); var result = ContractProductValidator.ProductIdToLongType(id); Assert.AreEqual(typeof(long), result.GetType()); }
public void ProductId() { var id = ContractProductReaderStub.ReadProductId(); var result = ContractProductValidator.ProductId(id); Assert.AreEqual(1, result); }
public void IsProductIdNotNull() { var id = ContractProductReaderStub.ReadProductId(); var result = ContractProductValidator.IsProductIdNotNull(id); Assert.IsTrue(result); }