public virtual void test_namedThreadFactory_prefix() { ThreadFactory threadFactory = Guavate.namedThreadFactory("ThreadMaker").build(); assertEquals(threadFactory.newThread(() => doNothing()).Name, "ThreadMaker-0"); }
public virtual void test_namedThreadFactory() { ThreadFactory threadFactory = Guavate.namedThreadFactory().build(); assertEquals(threadFactory.newThread(() => doNothing()).Name, "GuavateTest-0"); }