@Override
	protected AbstractInMemoryRepository<String, Integer> createRepository() {
		return new AbstractInMemoryRepository<String, Integer>() {

			@Override
			protected Integer keyFor(String entity) {
				return NUMBERS.indexOf(entity);
			}
		};
	}
Tests for {@link AbstractInMemoryRepository}.

@author Eric Bottard
spring-xd-analytics/src/test/java/org/springframework/xd/store/AbstractInMemoryRepositoryTests.java