* Test for TextOutputCallback(String prompt,String defaultText) ctor
* if prompt or defaultText is null or empty then expected IAE
*/
public final void testTextInputCallback_02() {
try {
text = new TextInputCallback("", "defaultText");
fail("Prompt and DefaultText should not be empty");
} catch (IllegalArgumentException e) {
}
try {
text = new TextInputCallback(null);
fail("Prompt and DefaultText should not be null");
} catch (IllegalArgumentException e) {
}
try {
text = new TextInputCallback(null, "defaultText");
fail("Prompt and DefaultText should not be null");
} catch (IllegalArgumentException e) {
}
try {
text = new TextInputCallback("prompt", "");
fail("Prompt and DefaultText should not be null");
} catch (IllegalArgumentException e) {
}
try {
text = new TextInputCallback("prompt", null);
fail("Prompt and DefaultText should not be null");
} catch (IllegalArgumentException e) {
}
}