@Test
void performSingleOptionInsert() {

    MongoCollection<Document> collection = this.connector.getDatabase().getCollection("update_query");
    collection.deleteMany(new BsonDocument());
    assertEquals(0, collection.count());
    Document sample = sample(0);
    MongoInsertQuery query = new MongoInsertQuery(collection, sample, new InsertOneOptions());
    query.performQuery();
    assertEquals(1, collection.count());
    Bson filters = Filters.eq("updated", false);
    Bson doc = Updates.combine(Updates.set("updated", true));
    MongoUpdateQuery updateQuery = new MongoUpdateQuery(collection, filters, doc, false, new UpdateOptions());
    updateQuery.performQuery();
    assertTrue(checkForNonUpdated(collection));
    new MongoDeleteQuery(collection, new BsonDocument(), false, new DeleteOptions()).performQuery();
    assertEquals(0, collection.count());
}