Use mock writer to test processor.