WaveTypeResourceConverter extends
		AbstractConverter<WaveTypeResource, WaveType> { @Override public WaveType convert(final WaveTypeResource source, final WaveType target) { target.setName(source.getName()); return target; }  @Override WaveType convert(final WaveTypeResource source, final WaveType target); @Override WaveType convert(final WaveTypeResource source);  }
@Test public void testConvert() throws Exception { String name = "first blood"; WaveType expected = new WaveType(); expected.setName(name); WaveTypeResource source = new WaveTypeResource(); source.setName(name); WaveType actual = unit.convert(source); assertEquals(expected, actual); }