protected <T> List<T> asList(Iterable<T> iterable) {
		List<T> result = new ArrayList<T>();
		for (T e : iterable) {
			result.add(e);
		}
		return result;
	}
Subclasses must implement to init the repository.
spring-xd-analytics/src/test/java/org/springframework/xd/store/BaseRepositoryTests.java