@Test(expected = IllegalStateException.class)
public void doubleStart() throws IOException {

    try (BdioWriter writer = new BdioWriter(metadata, NULL_STREAM_SUPPLIER)) {
        writer.start();
        writer.start();
    }
}