50515253545556
private CustomUserRepository repository; @Before public void setup() throws Exception { repository = new CouchbaseRepositoryFactory(template).getRepository(CustomUserRepository.class); }
5051525354555657
private UserRepository repository; @Before public void setup() throws Exception { RepositoryFactorySupport factory = new CouchbaseRepositoryFactory(template); repository = factory.getRepository(UserRepository.class); }