@Test
void writeSimpleFile() {

    String tableName = "test";
    int numberOfDataPoints = 10;
    TestLineSupplier lineSupplier = new TestLineSupplier(numberOfDataPoints, i -> i * i, false);
    new SQLWriter().write(lineSupplier, FILE.getAbsolutePath(), tableName);
    try (SQLiteConnection conn = SQLiteConnection.create(FILE.getAbsolutePath())) {
        SQLiteChecker checker = new SQLiteChecker(conn);
        checker.getNumberOfRowsInTable(numberOfDataPoints, tableName);
        checkQuantity(conn, tableName, 5, 5 * 5);
    } catch (SQLException e) {
        Assertions.fail("Failed to read file\n" + e);
    }
}