@Test
public void testLogThrowableWithoutArguments() throws Exception {

  final Throwable toBeThrown = new Throwable("fail");
  final String toBeThrownToString = toString(toBeThrown);
  subject.error("test", toBeThrown);
  assertThat(new String(err.toByteArray(), UTF_8),
      is("com.sap.jma.logging.LoggerImplTest#ERROR: test\n" + toBeThrownToString));
}