public void SetUp()
        {
            _helper    = new HttpClientHelper(tenantId, clientId, secret);
            _queueRepo = new QueuesMetricRepository(_helper);

            /*
             *  var queueMock = new Mock<IQueuesMetricRepository>();
             *  queueMock.Setup(m => m.GetAllMetrics()).Returns(new QueueMetricViewModel().QueueMetrics;
             *  _queueRepo = queueMock.Object;
             */
        }
Beispiel #2
0
 public QueueMetricsController(IQueuesMetricRepository queuesMetricRepository)
 {
     _queuesMetricRepository = queuesMetricRepository;
 }