@Test
void test_oneline_format() {

    OneLineFormatter f = new OneLineFormatter();
    LogRecord x = new LogRecord(Level.INFO,"test");
    x.setThrown(new IllegalArgumentException());
    assertThat(f.format(x), CoreMatchers.containsString("exception: java.lang.IllegalArgumentException"));
}