Exemple #1
0
        public void each_interface_cadkit_starts_with_capital_I()
        {
            var interfaces = ConventionsHelper.Interfaces("CADKit");

            Assert.NotEmpty(interfaces);

            var interfacesNotStartingWithI = interfaces
                                             .Where(x => x.Name.StartsWith("I", StringComparison.CurrentCulture) == false);

            Assert.Empty(interfacesNotStartingWithI);
        }