public void ConvertAGlimpseMetadataObject() { var metadata = new GlimpseMetadata(); var converter = new GlimpseMetadataConverter(); var obj = converter.Convert(metadata); var result = obj as IDictionary<string, object>; Assert.NotNull(result); Assert.True(result.ContainsKey("version")); Assert.True(result.ContainsKey("plugins")); Assert.True(result.ContainsKey("resources")); }
public void ConvertAGlimpseMetadataObject() { var metadata = new GlimpseMetadata(); var converter = new GlimpseMetadataConverter(); var obj = converter.Convert(metadata); var result = obj as IDictionary <string, object>; Assert.NotNull(result); Assert.True(result.ContainsKey("version")); Assert.True(result.ContainsKey("plugins")); Assert.True(result.ContainsKey("resources")); }