### Question:
ListingConnector implements IndexingConnector, ItemRetriever,
    IncrementalChangeHandler { @Override public String getDefaultId() { return repository.getClass().getName(); } ListingConnector(Repository repository);  ListingConnector(Repository repository, CheckpointHandler checkpointHandler); @Override String getDefaultId(); @Override void init(IndexingConnectorContext context); @Override void traverse(); @Subscribe void handleAsyncOperation(AsyncApiOperation asyncOp); @Override void saveCheckpoint(boolean isShutdown); @Override void destroy(); @Override void process(Item item); @Override void handleIncrementalChanges(); static final String CONFIG_TRAVERSER; static final String CHECKPOINT_FULL; static final String CHECKPOINT_INCREMENTAL; }### Answer:
@Test public void testDefaultId() throws Exception { ListingConnector connector = new ListingConnector(mockRepository); assertEquals(mockRepository.getClass().getName(), connector.getDefaultId()); }