### Question:
ChaincodeRepositoryFactory extends RepositoryFactorySupport { @Override protected Object getTargetRepository(RepositoryInformation metadata) { return targetRepository; } 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 getTargetRepository() { Assert.assertTrue("Incorrect target repository", factory.getTargetRepository(null) instanceof SimpleChaincodeRepository); }