def METHOD_NAME():
    """Test the database creation and read operations"""
    dataset = tfio.experimental.mongodb.MongoDBIODataset(
        uri=URI, database=DATABASE, collection=COLLECTION
    )
    count = 0
    for d in dataset:
        count += 1
    assert count == len(RECORDS)