Ejemplo n.º 1
0
        public void OneTimeSetUp()
        {
            MockNeo4JPersistenceProvider persistenceProvider = new MockNeo4JPersistenceProvider("bolt://localhost:7687", "neo4j", "neo");

            PersistenceProvider.CurrentPersistenceProvider = persistenceProvider;

            TearDown();

            string            projectFolder = Environment.CurrentDirectory + "\\..\\..\\..\\";
            GeneratorSettings settings      = new GeneratorSettings(projectFolder);
            GeneratorResult   result        = Generator.Execute <MockModel>(settings);

            MockModel model = new MockModel();

            model.Execute(true);
        }