@Test
public void testStreamPairedMismatchPrefix() throws Exception {

    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    new SangerFastqWriter().write(outputStream, mismatchPrefix);
    Reader mismatchPrefixReader = new StringReader(outputStream.toString());
    streamPaired(firstReader, mismatchPrefixReader, new PairedEndAdapter() {
            @Override
            public void paired(final Fastq left, final Fastq right) {
                fail("paired " + left + " " + right);
            }
            @Override
            public void unpaired(final Fastq unpaired) {
                assertTrue(left.getDescription().equals(unpaired.getDescription()) ||
                           mismatchPrefix.getDescription().equals(unpaired.getDescription()));
            }
        });
}