예제 #1
0
        private static RunExample GetExample(IStatement example, string key, string description)
        {
            IRepository  repo = new MemoryRepository(logFilePath);
            MyController ctrl = new MyController(repo);

            ctrl.Add(example);
            return(new RunExample(key, description, ctrl));
        }