@Test
public void testWriteAllOnMockEdgeListStream() throws IOException {

	EdgeListStream edgeListStream = new MockEdgeListStream(edges);
	ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
	try (EdgeListStreamWriter writer = new EdgeListStreamWriter(edgeListStream, outputStream)) {
		writer.writeAll();
		assertEquals("Output of EdgeListStreamWriter is correct", expectedOutput, outputStream.toString());
	}
}