Example #1
0
        public void GetClientsByPaging_GetClientsFromNonEmptyTable_ReturnsTableWithList()
        {
            int            rows       = 5;
            int            offset     = 0;
            IClientDAL     clientDAL  = new ClientDAL(new DBService(new DbConnectionService(_connectionStringName)));
            List <IClient> clientList = clientDAL.GetClientsByPaging(offset, rows).ToList();

            Assert.IsTrue(clientList.Count() <= rows && clientList.Count() > 0);
        }