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