@Test public void shouldMapWorkerToWorkerInfo() { Worker worker = Main.prepareWorker(); WorkerInfo workerInfo = workerDozerMapper.workerToWorkerInfo(worker); checkWorkerInfo(workerInfo); }
public WorkerInfo workerToWorkerInfo(Worker worker) { return mapper.map(worker, WorkerInfo.class); }
WorkerDozerMapper { public WorkerInfo workerToWorkerInfo(Worker worker) { return mapper.map(worker, WorkerInfo.class); } }
WorkerDozerMapper { public WorkerInfo workerToWorkerInfo(Worker worker) { return mapper.map(worker, WorkerInfo.class); } WorkerDozerMapper(); }
WorkerDozerMapper { public WorkerInfo workerToWorkerInfo(Worker worker) { return mapper.map(worker, WorkerInfo.class); } WorkerDozerMapper(); WorkerInfo workerToWorkerInfo(Worker worker); WorkerInfoImmutable workerToWorkerInfoImmutable(Worker worker); }
WorkerDozerMapper { public WorkerInfo workerToWorkerInfo(Worker worker) { return mapper.map(worker, WorkerInfo.class); } WorkerDozerMapper(); WorkerInfo workerToWorkerInfo(Worker worker); WorkerInfoImmutable workerToWorkerInfoImmutable(Worker worker);  }