@Test
void testWritingMultipleTables() {

    String tableName_1 = "test_1";
    String tableName_2 = "test_2";
    TestLineSupplier lineSupplier_1 = new TestLineSupplier(10, i -> i, false);
    TestLineSupplier lineSupplier_2 = new TestLineSupplier(15, i -> i * i, false);
    new SQLWriter().write(lineSupplier_1, FILE.getAbsolutePath(), tableName_1);
    new SQLWriter().write(lineSupplier_2, FILE.getAbsolutePath(), tableName_2);
    try (SQLiteConnection conn = SQLiteConnection.create(FILE.getAbsolutePath())) {
        checkQuantity(conn, tableName_1, 5, 5);
        checkQuantity(conn, tableName_2, 12, 12 * 12);
    } catch (SQLException e) {
        Assertions.fail("Failed to read file\n" + e);
    }
}