}
public final void testChoiceCallback_03() {
try {
cb = new ChoiceCallback(prompt, null, defaultChoice, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
try {
cb = new ChoiceCallback(null, choices, defaultChoice, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
try {
cb = new ChoiceCallback(prompt, choices, -1, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
try {
cb = new ChoiceCallback(prompt, new String[0], defaultChoice, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
try {
cb = new ChoiceCallback("", choices, defaultChoice, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
try {
cb = new ChoiceCallback(prompt, choices, 5, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
try {
cb = new ChoiceCallback(prompt, choices, 2, true);
fail("should be throw IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
}