@Test
public void errorWithThrowable() throws Exception {

    Throwable th = new IndexOutOfBoundsException();
    StaticLogger.error(TAG, MESSAGE, th);
    verify(logger).error(eq(TAG), eq(MESSAGE), eq(th));
}