INNER CODE UNIT · Go

TestCollection_e2e_Deleter

chenmingyong0423/go-mongox · collection_e2e_test.go:34

func TestCollection_e2e_Deleter(t *testing.T) {
	collection := getCollection[any](t)

	d := collection.Deleter()
	assert.NotNil(t, d, "Expected non-nil Deleter")
}

func TestCollection_e2e_Updater(t *testing.T) {
	collection := getCollection[any](t)

	u := collection.Updater()
	assert.NotNil(t, u, "Expected non-nil Updater")
}

func TestCollection_e2e_Finder(t *testing.T) {
	collection := getCollection[any](t)

	f := finder.NewFinder[any](collection.collection, nil, nil)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…