public void Test_Add()
        {
            var context = GetMockGitDB ();

            var typeManager = new DataTypeManager (context.Settings, context.Gitter);

            var exampleType = typeof(ExampleArticle);

            typeManager.Add (exampleType);

            var filePath = context.Settings.Location.GetPath (typeManager.TypesFileName);

            var typesString = File.ReadAllText(filePath);

            var expectedTypesString = exampleType.FullName + typeManager.TypeNamesParser.PairSeparator + exampleType.FullName + ", " + exampleType.Assembly.GetName().Name;

            Assert.AreEqual (expectedTypesString, typesString);
        }
        public void Test_Add()
        {
            var context = GetTestContext ();

            var typeManager = new DataTypeManager (context.Keys, context.DataClient);

            var exampleType = typeof(ExampleArticle);

            typeManager.Add (exampleType);

            var data = context.DataClient.Data;

            var key = context.Settings.Prefix + "-Types";

            var typesString = data [key];

            var expectedTypesString = exampleType.Name + typeManager.PairSeparator + exampleType.AssemblyQualifiedName;

            Assert.AreEqual (expectedTypesString, typesString);
        }