use of com.navercorp.pinpoint.thrift.dto.TDataSource in project pinpoint by naver.
the class DefaultDataSourceMetricTest method assertIdIsUnique.
private void assertIdIsUnique(List<TDataSource> dataSourceList) {
Set<Integer> idSet = new HashSet<Integer>();
for (TDataSource dataSource : dataSourceList) {
idSet.add(dataSource.getId());
}
Assert.assertEquals(dataSourceList.size(), idSet.size());
}
Aggregations