@Test
public void testPutMetrics() throws IOException, TokenExpiredException {

    try(ArgusService argusService = new ArgusService(getMockedClient("/MetricServiceTest.json"))) {
        MetricService metricService = argusService.getMetricService();
        List<Metric> metrics = Arrays.asList(new Metric[] { _constructMetric() });
        PutResult result = metricService.putMetrics(metrics);
        assertEquals(_constructSuccessfulResult(metrics, 0), result);
    }
}