@Test(expected=IllegalStateException.class)
public void testSetNumberOfThreadsDecrease() {

	ThreadsEngine.setNumberOfThreads(numThreads);
	ThreadsEngine.setNumberOfThreads(numThreadsSmaller);
	// Exception expected
}