@Test
public void testCreateUpdateApplyAndDeleteMacro() throws Exception {
Macro macro = new Macro();
macro.setTitle("Test Macro 1");
List<Action> actions = new ArrayList<Action>();
Action action = new Action();
action.setField("status");
action.setValue("open");
actions.add(action);
macro.setActions(actions);
// Create
Macro responseMacro = API.getMacros().createMacro(macro).getMacro();