Dictionary<String, String> properties = new Hashtable<String, String>();
properties.put("context", "contextValue");
String[] args = new String[]{"--context=contextValue"};
TalendJob job = createMock(TalendJob.class);
expect(job.runJobInTOS(aryEq(args))).andReturn(0);
replay(job);
SimpleJobTask task = new SimpleJobTask(job, NAME);
task.updated(properties);
task.run();