@Test
public void nflowThreadFactoryInstantiated() {

  ThreadFactory factory = configuration.nflowThreadFactory();
  assertThat(factory, instanceOf(CustomizableThreadFactory.class));
  assertThat(((CustomizableThreadFactory) factory).getThreadNamePrefix(), is("nflow-executor-"));
  assertThat(((CustomizableThreadFactory) factory).getThreadGroup().getName(), is("nflow"));
}