}
@Test
public void testWorkerService() throws Exception {
TextRecordParser<UpdateableInt> parser = new TextRecordParser<UpdateableInt>();
computableWorker = new CompoundAdditionWorker();
workerService = new ApplicationWorkerService<UpdateableInt>(
"worker1", masterAddress, parser, computableWorker, UpdateableInt.class);
assertEquals(0, workerService.run());
assertEquals(Integer.valueOf(0), master.get());