Beispiel #1
0
        public void Setup()
        {
            EffortProviderFactory.ResetDb();

            Mapper.Reset();
            _context = ContextControl.GetTestData();
            ContextControl.InitialiseMaps();

            _controller = new CommentsController(_context);
        }
Beispiel #2
0
 internal static void Run()
 {
     EffortProviderFactory.Register();
 }
 public void Initialize()
 {
     EffortProviderFactory.ResetDb();
 }
Beispiel #4
0
 public void Setup()
 {
     cc.ResetContext();
     EffortProviderFactory.ResetDb();
 }