@Test
public void testSetThrowable() throws Exception {

    AutomonExpirable expirable = new AutomonExpirable();
    Throwable t = new RuntimeException("my exception");
    expirable.setThrowable(t);
    assertThat(expirable.getThrowable()).isEqualTo(t);
    assertThat(expirable.toString()).contains("java.lang.RuntimeException: my exception", getClass().getName());
}