public void GetDbAppSetting() { DefaultLazyLoadSettingDao dao = new DefaultLazyLoadSettingDao(); Assert.IsNotNull(dao); DbAppSettingDto results = dao.GetDbAppSetting(new DbAppSettingDto()); Assert.IsNull(results); }
public void GetChangedDbAppSettings() { DefaultLazyLoadSettingDao dao = new DefaultLazyLoadSettingDao(); Assert.IsNotNull(dao); IEnumerable <DbAppSettingDto> results = dao.GetChangedDbAppSettings(DateTime.Now); Assert.IsNotNull(results); Assert.IsTrue(!results.Any()); }