124125126127128129130131132133134
AssertJUnit.assertTrue(exceptionCaught); exceptionCaught = false; try { controller.addExternalViewChangeListener(controllerListener); } catch (UnsupportedOperationException e) { exceptionCaught = true; } AssertJUnit.assertTrue(exceptionCaught);