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

    try(ArgusService argusService = new ArgusService(getMockedClient("/AlertServiceTest.json"))) {
        AlertService alertService = argusService.getAlertService();
        alertService.createAlert(_constructPersistedAlert());
    } catch (ArgusServiceException ex) {
        assertEquals(500, ex.getStatus());
        return;
    }
    fail("Expected an ArgusServiceException for creating a duplicate alert.");
}