Example #1
0
        public void Should_Construct_UserCategory()
        {
            UserCategory userCategory = new UserCategory(categoryName, summary);

            _ = new UserCategory();
            _ = userCategory.Id;
            userCategory.ShouldNotBeNull();
        }
Example #2
0
        public void Should_Construct_UserCategory_Second()
        {
            UserCategory userCategory = new UserCategory(categoryName, summary, new System.Collections.Generic.List <UserProfile>()
            {
                new UserProfile()
            });

            _ = new UserCategory();
            userCategory.ShouldNotBeNull();
        }