Пример #1
0
        public void init()
        {
            //Arrange
            string ip      = "192.168.16.98";
            int    port    = 1074;
            string logfile = "test.log";

            var rep = new ECAPIManagerRepository(ip, port, logfile);

            controller               = new PromotionController(rep);
            controller.Request       = new HttpRequestMessage();
            controller.Configuration = new HttpConfiguration();
        }
Пример #2
0
 public void Initialize()
 {
     ccm = new ECAPIManagerRepository(ip, port, logfile);
 }