public void dump(OutputStream out) {
        dump(true, true, out);
    }
@Test
    public void dumpsAllThreads() {
        final ByteArrayOutputStream output = new ByteArrayOutputStream();
        threadDump.dump(output);

        assertThat(output.toString())
            .isEqualTo(String.format("\"runnable\" id=100 state=RUNNABLE%n" +
                "    at Blah.blee(Blah.java:100)%n" +
                "%n" +
                "%n"));
    }