testing/testutils/src/main/java/org/apache/axiom/testutils/io/InstrumentedOutputStream.java [36:54]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @Override
    protected void beforeWrite(int n) {
        count += n;
    }

    @Override
    public long getCount() {
        return count;
    }

    @Override
    public void close() throws IOException {
        closed = true;
        super.close();
    }

    @Override
    public boolean isClosed() {
        return closed;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



testing/testutils/src/main/java/org/apache/axiom/testutils/io/InstrumentedWriter.java [35:53]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @Override
    protected void beforeWrite(int n) {
        count += n;
    }

    @Override
    public long getCount() {
        return count;
    }

    @Override
    public void close() throws IOException {
        closed = true;
        super.close();
    }

    @Override
    public boolean isClosed() {
        return closed;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



