### Question:
ChaincodeRepositoryFactory extends RepositoryFactorySupport { @Override public <T> T getRepository(Class<T> repositoryInterface, RepositoryFragments fragments) { logger.debug("Creating proxy for {}, fragments {}", repositoryInterface.getSimpleName(), fragments); return super.getRepository(repositoryInterface, fragments); } 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 getRepository() { Assert.assertNotNull(chaincodeClient); TestCorrectRepo correctRepo = factory.getRepository(TestCorrectRepo.class, RepositoryComposition.RepositoryFragments.empty()); Assert.assertNotNull("Can't create repository proxy", correctRepo); Assert.assertEquals("Incorrect data returned by repo method invocation", "invoked", correctRepo.invoke("asdf")); }