@Test
public void setRandomThreading()
	throws ExecutionException, InterruptedException
{

	final Random random = new Random();
	RandomRegistry.random(random);
	final ExecutorService executor = Executors.newFixedThreadPool(10);
	try {
		final List<Future<?>> futures = IntStream.range(0, 500)
			.mapToObj(i -> executor
				.submit(() -> assertSame(RandomRegistry.random(), random)))
			.collect(Collectors.toList());
		for (Future<?> future : futures) {
			future.get();
		}
	} finally {
		executor.shutdown();
	}
}