void (Description description, String expected) { final StringBuffer buf = new StringBuffer(); createListener(buf).sendTree(description); Assert.assertEquals("output: " + buf, expected, StringUtil.convertLineSeparators(buf.toString())); }