public void testNoExceptionArg() throws Exception {
    Object[] args = new Object[] { "a", 42, new Exception("test"), "x" };
    Throwable t = ((AbstractLogger) logger).getThrowable(args);
    assertNull(t);
  }
Test when the last argument is not an exception.
src/test/java/net/spy/memcached/compat/log/LoggingTest.java