BloomTests.Edit.ConfiguratorTest.LibrarySettingsAreRoundTriped C# (CSharp) Method

LibrarySettingsAreRoundTriped() private method

private LibrarySettingsAreRoundTriped ( ) : void
return void
		public void LibrarySettingsAreRoundTriped()
		{
			var first = new Configurator(_libraryFolder.Path, new NavigationIsolator());
			var stringRep = DynamicJson.Serialize(new
						{
							library = new {stuff = "foo"}
						});

			first.CollectJsonData(stringRep.ToString());

			var second = new Configurator(_libraryFolder.Path, new NavigationIsolator());
			dynamic j = (DynamicJson)DynamicJson.Parse(second.GetLibraryData());
			Assert.AreEqual("foo", j.library.stuff);
		}