Example #1
0
        public void UpdateCriteriaInvalidPageNumberTest()
        {
            // Arrange
            ChildResourceSearchCriteria target = new ChildResourceSearchCriteria();

            // Act
            target.UpdateCriteria("Name", -1);

            // Assert
            Assert.IsNotNull(target);
        }
Example #2
0
        public void UpdateCriteriaDirectionTest()
        {
            // Arrange
            ChildResourceSearchCriteria target = new ChildResourceSearchCriteria();

            target.SortDirection = SortDirection.Descending;

            // Act
            target.UpdateCriteria("Name", 1);

            // Assert
            Assert.IsNotNull(target);
        }