@org.junit.Test public void testDisablesParallelExecutionWhenInDebugMode() { configureTask(); test.setDebug(true); test.setMaxParallelForks(4); assertEquals(1, test.getMaxParallelForks()); }