public final class GlobalResourceLoaderTestUtils extends Object
GlobalResourceLoader
.Modifier and Type | Method and Description |
---|---|
static void |
addMockService(String serviceName,
Object mockService)
Inject a service into the
GlobalResourceLoader such that anytime
that service is fetched by serviceName, the supplied mockService will be returned. |
public static void addMockService(String serviceName, Object mockService)
GlobalResourceLoader
such that anytime
that service is fetched by serviceName, the supplied mockService will be returned.serviceName
- the name that the service is known by in the GRLmockService
- the service to injectCopyright © 2005–2014 The Kuali Foundation. All rights reserved.