final WorkerInfo wInfo = new WorkerInfo();
final String name = "foo";
wInfo.setName(name);
Assert.assertEquals(name, wInfo.getName());
Assert.assertEquals(name, wInfo.toString());
final State state = State.IDLE;
wInfo.setState(state);
Assert.assertEquals(state, wInfo.getState());
final Date started = new Date();
wInfo.setStarted(started);
Assert.assertEquals(started, wInfo.getStarted());