public void FetchTest() { int id = 1; var item = ProductInfo.Fetch(id); Assert.IsTrue(item != null); Assert.IsTrue(item.Id == id); id = 0; item = ProductInfo.Fetch(id); Assert.IsTrue(item == null); }