@Test
public void executionContinuesAfterException() throws Exception {

	MultiKeySequentialExecutor<String> executor = new MultiKeySequentialExecutor<>(2);
	executor.submit("a", () -> {
		throw new RuntimeException();
	});
	boolean[] secondWasExecuted = new boolean[]{false};
	executor.submit("a", () -> {
		secondWasExecuted[0] = true;
	})
			.get();
	Assert.assertTrue(secondWasExecuted[0]);
}