INNER CODE UNIT · Go

TestCollection_e2e_Finder

chenmingyong0423/go-mongox · collection_e2e_test.go:48

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

	f := finder.NewFinder[any](collection.collection, nil, nil)
	assert.NotNil(t, f, "Expected non-nil Finder")
}

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

	c := creator.NewCreator[any](collection.collection, nil, nil)
	assert.NotNil(t, c, "Expected non-nil Creator")
}

func TestCollection_e2e_New(t *testing.T) {
	assert.NotNil(t, getCollection[any](t))
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…