func SetMockService(m *MockService) {
	m.Cache = &cache.MockAppCacheService{}
	m.Plan = &app.MockPlanService{}
	m.Platform = &app.MockPlatformService{}
	m.PlatformImage = &image.MockPlatformImageService{}
	m.Team = &auth.MockTeamService{}
	m.UserQuota = &quota.MockQuotaService{}
	m.AppQuota = &quota.MockQuotaService{}
	m.Cluster = &provision.MockClusterService{}
	m.ServiceBroker = &service.MockServiceBrokerService{}
	m.ServiceBrokerCatalogCache = &service.MockServiceBrokerCatalogCacheService{}
	servicemanager.AppCache = m.Cache
	servicemanager.Plan = m.Plan
	servicemanager.Platform = m.Platform
	servicemanager.PlatformImage = m.PlatformImage
	servicemanager.Team = m.Team
	servicemanager.UserQuota = m.UserQuota
	servicemanager.AppQuota = m.AppQuota
	servicemanager.Cluster = m.Cluster
	servicemanager.ServiceBroker = m.ServiceBroker
	servicemanager.ServiceBrokerCatalogCache = m.ServiceBrokerCatalogCache
}
func SetMockService(m *MockService) {
	m.Cache = &cache.MockAppCacheService{}
	m.Plan = &app.MockPlanService{}
	m.Platform = &app.MockPlatformService{}
	m.PlatformImage = &image.MockPlatformImageService{}
	m.Team = &auth.MockTeamService{}
	m.UserQuota = &quota.MockQuotaService{}
	m.AppQuota = &quota.MockQuotaService{}
	m.Cluster = &provision.MockClusterService{}
	m.ServiceBroker = &service.MockServiceBrokerService{}
	m.ServiceBrokerCatalogCache = &service.MockServiceBrokerCatalogCacheService{}
	servicemanager.AppCache = m.Cache
	servicemanager.Plan = m.Plan
	servicemanager.Platform = m.Platform
	servicemanager.PlatformImage = m.PlatformImage
	servicemanager.Team = m.Team
	servicemanager.UserQuota = m.UserQuota
	servicemanager.AppQuota = m.AppQuota
	servicemanager.Cluster = m.Cluster
	servicemanager.ServiceBroker = m.ServiceBroker
	servicemanager.ServiceBrokerCatalogCache = m.ServiceBrokerCatalogCache
}
func SetMockService ( m * MockService ) { m . Cache = & cache . MockAppCacheService { } m . Plan = & app . MockPlanService { } m . Platform = & app . MockPlatformService { } m . PlatformImage = & image . MockPlatformImageService { } m . Team = & auth . MockTeamService { } m . UserQuota = & quota . MockQuotaService { } m . AppQuota = & quota . MockQuotaService { } m . Cluster = & provision . MockClusterService { } m . ServiceBroker = & service . MockServiceBrokerService { } m . ServiceBrokerCatalogCache = & service . MockServiceBrokerCatalogCacheService { } servicemanager . AppCache = m . Cache servicemanager . Plan = m . Plan servicemanager . Platform = m . Platform servicemanager . PlatformImage = m . PlatformImage servicemanager . Team = m . Team servicemanager . UserQuota = m . UserQuota servicemanager . AppQuota = m . AppQuota servicemanager . Cluster = m . Cluster servicemanager . ServiceBroker = m . ServiceBroker servicemanager . ServiceBrokerCatalogCache = m . ServiceBrokerCatalogCache }
// SetMockService return a new MockService and set as a servicemanager
SetMockService return a new MockService and set as a servicemanager