DDMStorageAdapterTrackerImpl implements DDMStorageAdapterTracker { @Override public Set<String> getDDMStorageAdapterTypes() { return ddmStorageAdapterServiceTrackerMap.keySet(); }  @Override DDMStorageAdapter getDDMStorageAdapter(String type); @Override Set<String> getDDMStorageAdapterTypes();  }
@Test public void testGetDDMStorageAdapterTypes() { DDMStorageAdapterTrackerImpl ddmStorageAdapterTrackerImpl = new DDMStorageAdapterTrackerImpl(); ddmStorageAdapterTrackerImpl.ddmStorageAdapterServiceTrackerMap = _ddmStorageAdapterServiceTrackerMap; ddmStorageAdapterTrackerImpl.getDDMStorageAdapterTypes(); Mockito.verify( _ddmStorageAdapterServiceTrackerMap, Mockito.times(1) ).keySet(); }