public void TestGenerateParserFactory(DataType d, IJSONParser pars) { IJSONParser testPars = ParserFactory.Generate(d); Assert.That(testPars.GetType(), Is.EqualTo(pars.GetType())); }