RepositoryWithDeleteMethodForEntityOverloaded.class.getMethod("delete", Domain.class));
}
private static CrudMethods getMethodsFor(Class<?> repositoryInterface) {
RepositoryMetadata metadata = new DefaultRepositoryMetadata(repositoryInterface);
RepositoryInformation information = new DefaultRepositoryInformation(metadata, PagingAndSortingRepository.class,
null);
return new DefaultCrudMethods(information);
}