BroadcastingConverter extends AbstractConverter<BroadcastingMessageResource, BroadcastingMessageResource> { @Override public BroadcastingMessageResource convert(final BroadcastingMessageResource source, final BroadcastingMessageResource target) { target.setId(source.getId()); return target; }  @Override BroadcastingMessageResource convert(final BroadcastingMessageResource source, final BroadcastingMessageResource target); @Override BroadcastingMessageResource convert(final BroadcastingMessageResource source);  }
@Test public void testAll() throws Exception { Long id = 1L; BroadcastingMessageResource source = new BroadcastingMessageResource(); source.setId(id); BroadcastingMessageResource actual = unit.convert(source); assertEquals(source, actual); }