replay(resourceDAOMock, criterionServiceMock);
// perform actions
WorkerModel workerModel = new WorkerModel(resourceDAOMock,
criterionServiceMock);
workerModel.prepareEditFor(workerToReturn);
workerModel.save();
}
@Ignore
@Test(expected = IllegalStateException.class)