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

    try(ArgusService argusService = new ArgusService(getMockedClient("/AnnotationServiceTest.json"))) {
        AnnotationService annotationService = argusService.getAnnotationService();
        List<String> expressions = Arrays.asList(new String[] { "-1d:TestScope:TestMetric{TestTag=TagValue}:TestType" });
        List<Annotation> result = annotationService.getAnnotations(expressions);
        List<Annotation> expected = Arrays.asList(new Annotation[] { _constructAnnotation() });
        assertEquals(expected, result);
    }
}