Beispiel #1
0
        public void FetchWorkItemsBySubjectTest()
        {
            #region --Arrange --

            QueryResult <WorkItem> result  = null;
            const string           subject = "Begrijpend Lezen";
            #endregion

            #region --Act --

            try
            {
                result = _workRepository.FindBySubject(subject);
                if (result != null)
                {
                    Trace.WriteLine(string.Format("Fetched Work Items By Subject: {0}", result.TotalRecords));
                }
            }
            catch (Exception exception)
            {
                Trace.WriteLine(exception.Message);
            }
            #endregion

            #region --Assert --
            Assert.IsNotNull(result);
            #endregion
        }