Exemplo n.º 1
0
        public void TestFindAll(EmployeeDto _EmployeeDto)
        {
            var  _EmployeeBO = new EmployeeBO(new EmployeeConverter());
            bool hasAdded    = _EmployeeBO.CreateEntiy(_EmployeeDto);
            var  dbResult    = _EmployeeBO.FindAll(new PagedList <EmployeeDto> {
                _EmployeeDto
            });

            Assert.NotNull(dbResult);
            Assert.True(dbResult.Total > 0);
        }