class ProcessingTest {
constant TEST_DATA _01 = "12312dffgerg34tegdg";
constant TEST_DATA _02 = "12sdf31sdgf2dffgerg34tegdg";
method testProcessing() {
// create and init object to be tested
// do test
result = object.read(new TestStringStream(TEST_DATA_01));
// check if result is correct
}
inner class TestStringStream extends Stream {
// simple implementation
}
}