@Test public void convertSingleTspType() { TimestampingService timestampingService = timestampingServiceConverter.convert( TestUtils.createTspType(TSA_1_URL, TSA_1_NAME)); assertEquals(TSA_1_URL, timestampingService.getUrl()); assertEquals(TSA_1_NAME, timestampingService.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);  }