@Test public void correctlyMapActorEntityToActor(){ String expectedName = "John"; when(actorEntityMock.getActorName()).thenReturn("John"); final Actor actor = mapper.reverseMap(actorEntityMock); assertNotNull(actor); assertThat(actor.getName() , is(expectedName)); }
@Override public Actor reverseMap(final ActorEntity value) { final Actor actor = new Actor(); fillActor(actor, value); return actor; }
ActorDetailEntityToActor extends Mapper<Actor , ActorEntity> { @Override public Actor reverseMap(final ActorEntity value) { final Actor actor = new Actor(); fillActor(actor, value); return actor; } }
ActorDetailEntityToActor extends Mapper<Actor , ActorEntity> { @Override public Actor reverseMap(final ActorEntity value) { final Actor actor = new Actor(); fillActor(actor, value); return actor; }  }
ActorDetailEntityToActor extends Mapper<Actor , ActorEntity> { @Override public Actor reverseMap(final ActorEntity value) { final Actor actor = new Actor(); fillActor(actor, value); return actor; }  @Override ActorEntity map(final Actor value); @Override Actor reverseMap(final ActorEntity value); List<CinemaEntity> mapCinemas(List<Cinema> cinemas); Actor mapDetailActor(final ActorEntity value , final List<CinemaEntity> cinemaEntities); }
ActorDetailEntityToActor extends Mapper<Actor , ActorEntity> { @Override public Actor reverseMap(final ActorEntity value) { final Actor actor = new Actor(); fillActor(actor, value); return actor; }  @Override ActorEntity map(final Actor value); @Override Actor reverseMap(final ActorEntity value); List<CinemaEntity> mapCinemas(List<Cinema> cinemas); Actor mapDetailActor(final ActorEntity value , final List<CinemaEntity> cinemaEntities);  }