public void FetchWorkItemsByUserTest() { #region --Arrange -- QueryResult <WorkItem> result = null; const int userId = 40282; #endregion #region --Act -- try { result = _workRepository.FindByUser(userId); if (result != null) { Trace.WriteLine(string.Format("Fetched Work Items By UserId: {0}", result.TotalRecords)); } } catch (Exception exception) { Trace.WriteLine(exception.Message); } #endregion #region --Assert -- Assert.IsNotNull(result); #endregion }