catch (NullPointerException ex) {
fail("NullPointerException was not expected");
}
try {
board.switchCasesLetter(-1, -1, 0, 0);
System.out.println("Can switch -1, -1 and 0, 0, but not recommended (used as safe area)");
}
catch (ArrayIndexOutOfBoundsException e) {
fail("ArrayIndexOutOfBoundsException was not expected");
}