MCPcopy Create free account
hub / github.com/dropbox/dbxcli / mockUsersClient

Struct mockUsersClient

cmd/users_test.go:11–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type mockUsersClient struct {
12 getAccountFn func(*users.GetAccountArg) (*users.BasicAccount, error)
13 getCurrentAccountFn func() (*users.FullAccount, error)
14 getSpaceUsageFn func() (*users.SpaceUsage, error)
15}
16
17func (m *mockUsersClient) GetAccount(arg *users.GetAccountArg) (*users.BasicAccount, error) {
18 if m.getAccountFn != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected