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

    try(ArgusService argusService = new ArgusService(getMockedClient("/AlertServiceTest.json"))) {
        AlertService alertService = argusService.getAlertService();
        Trigger trigger = _constructUnpersistedTrigger();
        List<Trigger> result = alertService.createTrigger(BigInteger.ONE, trigger);
        List<Trigger> expected = Arrays.asList(new Trigger[] { _constructPersistedTrigger() });
        assertEquals(expected, result);
    }
}