public void RootNamespaceTakesPreferenceToAssemblyName()
        {
            var context = new ProjectTestContext(this.GetType().Name, "Test03");

            try
            {
                context.CreateProject();
                context.SetRootNamespaceInProject("TestNamespace");
                context.SetAssemblyNameInProject("TestAssembly");

                var folderInfo = new DotNetProjectFolderInfo(context.TargetProjectFolder);

                Assert.Equal("TestNamespace", folderInfo.RootNamespace);
            }
            finally
            {
                context.CleanUp();
            }
        }
        public void CanReadAssemblyNameFromProjectFile()
        {
            var context = new ProjectTestContext(this.GetType().Name, "Test02");

            try
            {
                context.CreateProject();
                context.SetAssemblyNameInProject("TestAssembly");

                var folderInfo = new DotNetProjectFolderInfo(context.TargetProjectFolder);

                Assert.Equal("TestAssembly", folderInfo.AssemblyName);
                Assert.Equal("TestAssembly", folderInfo.RootNamespace);
            }
            finally
            {
                context.CleanUp();
            }
        }