public void ReturnsOneDeclaration_When_PartialIsRedundant()
        {
            Data.TypeData           data = GetType("partial class Test { }");
            TypeDeclarationSyntax[] decl = data.GetPartialDeclarations().ToArray();

            Assert.True(decl.Length == 1 && decl[0].IsEquivalentTo(data.Declaration));
        }
        public void CanReturnsMultipleDeclarations()
        {
            TypeDeclarationSyntax firstDecl = GetNode <TypeDeclarationSyntax>("public partial sealed class Test { }");

            Data.TypeData           data = GetType("partial class Test { }");
            TypeDeclarationSyntax[] decl = data.GetPartialDeclarations().ToArray();

            Assert.True(decl.Length == 2 && decl.Any(d => d.IsEquivalentTo(firstDecl)) && decl.Any(d => d.IsEquivalentTo(data.Declaration)));
        }