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

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

            var exampleType = typeof(ExampleArticle);

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

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

            File.WriteAllText(filePath, typesString);

            var type = typeManager.GetType (exampleType.Name);

            Assert.IsNotNull (type);
            Assert.AreEqual (exampleType, type);
        }
        public void Test_GetType()
        {
            var context = GetTestContext ();

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

            var exampleType = typeof(ExampleArticle);

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

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

            context.DataClient.Data [key] = typesString;

            var type = typeManager.GetType (exampleType.Name);

            Assert.IsNotNull (type);
            Assert.AreEqual (exampleType, type);
        }