@Test
public void testCastOfException(){

    Exception exception = new IOException("simulated checked exception message");
    try{
        Exceptions.sneakyThrow(exception);
        fail();
    } catch(Exception e){
        assertTrue(e instanceof  IOException);
    }
}