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(); }
public void Initialize() { ccm = new ECAPIManagerRepository(ip, port, logfile); }