public void TestParseConfiguration() { var configManager = new AppConfigurationManager(); var stream = this.GetType() .Assembly.GetManifestResourceStream("Microsoft.PortableApps.AppConfiguration.Tests.config.json"); var reader = new StreamReader(stream); var testConfiguration = reader.ReadToEnd(); Trace.WriteLine(testConfiguration); var result = configManager.ParseConfiguration(testConfiguration, roles: new [] { "developer" }); Assert.IsTrue(result.Entries != null); Assert.IsTrue(result.Entries.Count == 3); Trace.WriteLine(JsonConvert.SerializeObject(result, Formatting.Indented)); }