String [] limboTransactions = byteOut.toString().split("\n"); assertEquals(COUNT_LIMBO, limboTransactions.length);
StringTokenizer limboTransactions = new StringTokenizer(byteOut.toString(),"\n"); assertEquals(COUNT_LIMBO, limboTransactions.countTokens());
    public void testListLimboTransactions() throws Exception {        final int COUNT_LIMBO = 5;        createLimboTransaction(COUNT_LIMBO);        ByteArrayOutputStream byteOut = new ByteArrayOutputStream();        maintenanceManager.setLogger(byteOut);        maintenanceManager.listLimboTransactions();        String [] limboTransactions = byteOut.toString().split("\n");        assertEquals(COUNT_LIMBO, limboTransactions.length);    }