public void ValidateMissingCreatorId()
        {
            //Arrange
            Catagory catagory = new Catagory
            {
                Title     = "Test Title",
                Questions = 0,
                Creator   = new Profile()
            };
            bool expected = false;

            //Act
            bool actual = catagory.Validate();

            //Assert
            Assert.Equal(expected, actual);
        }
        public void ValidateMissingCreator()
        {
            //Arrange
            Catagory catagory = new Catagory
            {
                CreatorId = "alkjadsf",
                Title     = "Test Title",
                Questions = 0
            };
            bool expected = false;

            //Act
            bool actual = catagory.Validate();

            //Assert
            Assert.Equal(expected, actual);
        }
        public void ValidateIsValid()
        {
            //Arrange
            Catagory catagory = new Catagory
            {
                CreatorId = "alkjadsf",
                Title     = "Test Title",
                Questions = 0,
                Creator   = new Profile()
            };
            bool expected = true;

            //Act
            bool actual = catagory.Validate();

            //Assert
            Assert.Equal(expected, actual);
        }