@Test(expected = IllegalArgumentException.class)
public void testInvalidGroup() {

    EventExecutorGroup group = new DefaultEventExecutorGroup(1);
    try {
        new NonStickyEventExecutorGroup(group);
    } finally {
        group.shutdownGracefully();
    }
}