public void RemoveAt()
        {
            var element1 = new ByFileIncludeRootAssemblyElement {
                FilePattern = "*.dll", IncludeReferencedAssemblies = true
            };
            var element2 = new ByFileIncludeRootAssemblyElement {
                FilePattern = "*.exe"
            };
            var element3 = new ByFileExcludeRootAssemblyElement {
                FilePattern = "Utilities.exe"
            };

            var collection = new ByFileRootAssemblyElementCollection();

            collection.Add(element1);
            collection.Add(element2);
            collection.Add(element3);
            collection.RemoveAt(1);

            ByFileRootAssemblyElementBase[] result = collection.ToArray();
            Assert.That(result, Is.EquivalentTo(new ByFileRootAssemblyElementBase[] { element1, element3 }));
        }