func (s *ResourceManagerStub) GetOrganization(ctx context.Context, organizationID string) (*crm.Organization, error) {
	return s.GetOrganizationResponse, nil
}
GetOrganization is a stub of Cloud Resource Manager's GetOrganization.
package stubs
import (
	"context"
	crm "google.golang.org/api/cloudresourcemanager/v1"
)
type ResourceManagerStub struct {
	GetPolicyResponse       *crm.Policy
	GetAncestryResponse     *crm.GetAncestryResponse
	SavedSetPolicy          *crm.Policy
	GetOrganizationResponse *crm.Organization
}
func (s *ResourceManagerStub) GetPolicyProject(ctx context.Context, projectID string) (*crm.Policy, error) {
	return s.GetPolicyResponse, nil
}
func (s *ResourceManagerStub) SetPolicyProject(ctx context.Context, projectID string, p *crm.Policy) (*crm.Policy, error) {
	s.SavedSetPolicy = p
	return s.SavedSetPolicy, nil
}
func (s *ResourceManagerStub) SetPolicyProjectWithMask(ctx context.Context, projectID string, p *crm.Policy, fields ...string) (*crm.Policy, error) {
	s.SavedSetPolicy = p
	return s.SavedSetPolicy, nil
}
func (s *ResourceManagerStub) GetAncestry(context.Context, string) (*crm.GetAncestryResponse, error) {
	return s.GetAncestryResponse, nil
}
func (s *ResourceManagerStub) GetPolicyOrganization(ctx context.Context, organizationID string) (*crm.Policy, error) {
	return s.GetPolicyResponse, nil
}
func (s *ResourceManagerStub) SetPolicyOrganization(ctx context.Context, organizationID string, p *crm.Policy) (*crm.Policy, error) {
	s.SavedSetPolicy = p
	return s.SavedSetPolicy, nil
}