INNER CODE UNIT · Go
TestCollection_e2e_Updater
chenmingyong0423/go-mongox · collection_e2e_test.go:41
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)
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)