@Test
public void testWriteEmptyList() throws IOException {

    final ByteArrayOutputStream outputStream = createEmptyStream();
    final List<SamplingPoint> emptyList = new ArrayList<>();
    SamplingPointIO.write(emptyList, outputStream);
    assertEquals(EMPTY_LIST_STRING, outputStream.toString());
}