@Test(expected = RuntimeException.class)
public void testRender() throws Exception {

    try {
        callNotImplementedMethod();
    } catch (NotImplementedException e) {
        final String[] rendered = new FullStacktraceThrowableRenderer().doRender(e);
        assertThat(asList(rendered),
                hasItem("org.apache.commons.lang3.NotImplementedException: java.lang.IllegalArgumentException: Illegal!"));
        assertThat(asList(rendered),
                hasItem("\tat ru.qatools.selenograph.util.FullStacktraceThrowableRendererTest." +
                        "callIllegalArgumentMethod(FullStacktraceThrowableRendererTest.java:40)"));
        throw e;
    }
}