public void InvalidMovieTitles(string title, bool expectedResult)
        {
            var validationAttribute = new TitleValidationAttribite();
            var actualResult        = validationAttribute.IsValid(title);

            Assert.Equal(expectedResult, actualResult);
        }
        public void MovieTitleShouldNotBevalid()
        {
            // Arrange
            var validationAttribute = new TitleValidationAttribite();

            // Act
            var isValid = validationAttribute.IsValid("Invaid title*");

            // Assert
            Assert.False(isValid);
        }
        public void MovieTitleShouldBevalid()
        {
            // Arrange
            var validationAttribute = new TitleValidationAttribite();

            // Act
            var isValid = validationAttribute.IsValid("Valid Title");

            // Assert
            Assert.True(isValid);
        }