### Question:
ChaincodeRepositoryFactory extends RepositoryFactorySupport { @Override protected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata) { return SimpleChaincodeRepository.class; } ChaincodeRepositoryFactory(Class<?> repositoryInterface, ChaincodeClient chaincodeClient); @Override EntityInformation<T, ID> getEntityInformation(Class<T> domainClass); @Override T getRepository(Class<T> repositoryInterface, RepositoryFragments fragments);  }### Answer:
@Test public void getRepositoryBaseClass() { RepositoryMetadata metadata = new DefaultRepositoryMetadata(TestCorrectRepo.class); Assert.assertEquals("Incorrect base class", SimpleChaincodeRepository.class, factory.getRepositoryBaseClass(metadata)); }