@Test
public void testBadNotificationArguments() {

    markSourceConnected(true);
    Integer[] intArray = new Integer[3];
    intArray[0] = 1;
    intArray[1] = 2;
    intArray[2] = 3;
    try {
        client.sendNotification(intArray);
        fail("Send of Array should fail.");
    } catch (IllegalArgumentException iae) {
        // Expected
    } // Other invalid exceptions will escape & cause failure.
    List<String> stringList = new ArrayList<>();
    stringList.add("This ");
    stringList.add("should ");
    stringList.add("not ");
    stringList.add("work.");
    try {
        client.sendNotification(stringList);
        fail("Send of List should fail.");
    } catch (IllegalArgumentException iae) {
        // Expected
    } // Other invalid exceptions will escape & cause failure.
}