public void GetModelsDirectoryThrowsTests(string root, string config, bool acceptUnsafe) { Assert.Throws <ConfigurationErrorsException>(() => { var modelsDirectory = ModelsBuilderConfig.GetModelsDirectory(root, config, acceptUnsafe); }); }
public void GetModelsDirectoryTests(string root, string config, bool acceptUnsafe, string expected) { Assert.AreEqual(expected, ModelsBuilderConfig.GetModelsDirectory(root, config, acceptUnsafe)); }