*/
@Test
public void testThreadPoolWorkManagerLessThan1Size() {
for (int i = 0; i >= -10; i--) {
try {
new ThreadPoolWorkManager(i);
Assert.fail("Should have thrown IllegalArgumentException");
} catch (IllegalArgumentException ex) {
Assert.assertTrue(ex.toString().indexOf(Integer.toString(i)) != -1);
}
}