@Test public void convertSingleTimestampingService() { TspType tspType = timestampingServiceConverter.convert(TestUtils .createTimestampingService(TSA_1_URL, TSA_1_NAME)); assertEquals(TSA_1_URL, tspType.getUrl()); assertEquals(TSA_1_NAME, tspType.getName()); }
public TimestampingService convert(TspType tsp) { TimestampingService timestampingService = new TimestampingService(); timestampingService.setUrl(tsp.getUrl()); timestampingService.setName(tsp.getName()); return timestampingService; }
TimestampingServiceConverter { public TimestampingService convert(TspType tsp) { TimestampingService timestampingService = new TimestampingService(); timestampingService.setUrl(tsp.getUrl()); timestampingService.setName(tsp.getName()); return timestampingService; } }
TimestampingServiceConverter { public TimestampingService convert(TspType tsp) { TimestampingService timestampingService = new TimestampingService(); timestampingService.setUrl(tsp.getUrl()); timestampingService.setName(tsp.getName()); return timestampingService; }  }
TimestampingServiceConverter { public TimestampingService convert(TspType tsp) { TimestampingService timestampingService = new TimestampingService(); timestampingService.setUrl(tsp.getUrl()); timestampingService.setName(tsp.getName()); return timestampingService; }  TimestampingService convert(TspType tsp); List<TimestampingService> convert(Iterable<TspType> tsps); TspType convert(TimestampingService timestampingService); }
TimestampingServiceConverter { public TimestampingService convert(TspType tsp) { TimestampingService timestampingService = new TimestampingService(); timestampingService.setUrl(tsp.getUrl()); timestampingService.setName(tsp.getName()); return timestampingService; }  TimestampingService convert(TspType tsp); List<TimestampingService> convert(Iterable<TspType> tsps); TspType convert(TimestampingService timestampingService);  }