Search in sources :

Example 1 with DatabaseExportOutputStream

use of org.killbill.billing.util.api.DatabaseExportOutputStream in project killbill by killbill.

the class TestDatabaseExportDao method getDump.

private String getDump() {
    final DatabaseExportOutputStream out = new CSVExportOutputStream(new ByteArrayOutputStream());
    dao.exportDataForAccount(out, internalCallContext);
    return out.toString();
}
Also used : DatabaseExportOutputStream(org.killbill.billing.util.api.DatabaseExportOutputStream) ByteArrayOutputStream(java.io.ByteArrayOutputStream)

Aggregations

ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 DatabaseExportOutputStream (org.killbill.billing.util.api.DatabaseExportOutputStream)1