Package org.nuxeo.runtime.mockito
Class MockProvider
java.lang.Object
org.nuxeo.runtime.mockito.MockProvider
- All Implemented Interfaces:
ServiceProvider
- Since:
- 5.7.8
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoid<T> TgetService(Class<T> serviceClass) Gets the service instance given its API class.voidvoid
-
Field Details
-
next
-
mocks
-
-
Constructor Details
-
MockProvider
public MockProvider()
-
-
Method Details
-
bind
-
clearBindings
public void clearBindings() -
installSelf
public void installSelf() -
uninstallSelf
public void uninstallSelf() -
getService
Description copied from interface:ServiceProviderGets the service instance given its API class.- Specified by:
getServicein interfaceServiceProvider
-