github.com/stripe/stripe-go/v76@v76.25.0/mandate/client_test.go (about) 1 package mandate 2 3 import ( 4 "testing" 5 6 assert "github.com/stretchr/testify/require" 7 _ "github.com/stripe/stripe-go/v76/testing" 8 ) 9 10 func TestMandateMethodGet(t *testing.T) { 11 pm, err := Get("mandate_123", nil) 12 assert.Nil(t, err) 13 assert.NotNil(t, pm) 14 }