public void NamePropertySetter_ThreeLetterStringWithSmallLettersName_ShouldPassTest()
        {
            // Arrange
            Airport          airport  = new Airport("ASD");
            AirportOperation expected = AirportOperation.InvalidNameFormatFailure;

            // Act
            AirportOperation actual = airport.ChangeName("asd");

            // Assert
            Assert.Equal(expected, actual);
        }
        public void NamePropertySetter_EmptyStringName_ShouldPassTest()
        {
            // Arrange
            Airport          airport  = new Airport("OFK");
            AirportOperation expected = AirportOperation.InvalidNameLenghtFailure;

            // Act
            AirportOperation actual = airport.ChangeName("");

            // Assert
            Assert.Equal(expected, actual);
        }
        public void NamePropertySetter_ShorterThanThreeLettersName_ShouldPassTest()
        {
            // Arrange
            Airport          airport  = new Airport("ASD");
            AirportOperation expected = AirportOperation.InvalidNameLenghtFailure;

            // Act
            AirportOperation actual = airport.ChangeName("AA");

            // Assert
            Assert.Equal(expected, actual);
        }
        public void NamePropertySetter_ThreeLetterStringWithOnlyCapitalLettersName_ShouldPassTest()
        {
            // Arrange
            Airport airport  = new Airport("ASD");
            string  expected = "SDS";

            // Act
            airport.ChangeName("SDS");
            string actual = airport.Name;

            // Assert
            Assert.Equal(expected, actual);
        }
        public void NamePropertySetter_NullStringName_ShouldPassTest()
        {
            // Arrange
            string           nullString = null;
            Airport          airport    = new Airport("ASD");
            AirportOperation expected   = AirportOperation.InvalidNameNullFailure;

            // Act
            AirportOperation actual = airport.ChangeName(nullString);

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