public void ManyToOneReadTest() { using (EasySession easySession = new EasySession()) { ///[Test Read] - many-to-one relationship ProductSubcategory productSubcategory = new ProductSubcategory(); IList resultList = productSubcategory.FindAll(easySession); Assert.AreEqual(38, resultList.Count); } }