String startsWith = ne9.getClass().getName() + ": ne9: ne9 exception";
String startsWith = ne9.getClass().getName() + ": ne9";
    public void testPrintPartialStackTrace()    {        Nestable ne9 = getNestable("ne9", getThrowable("ne9 exception"));        ByteArrayOutputStream baos2 = new ByteArrayOutputStream();        PrintStream ps2 = new PrintStream(baos2);        PrintWriter pw2 = new PrintWriter(ps2, true);        ne9.printPartialStackTrace(pw2);        String stack2 = baos2.toString();        String startsWith = ne9.getClass().getName() + ": ne9: ne9 exception";        assertTrue("stack trace startsWith == " + startsWith,            stack2.startsWith(startsWith));        assertEquals("stack trace indexOf rethrown == -1",            stack2.indexOf("rethrown"), -1);    }