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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
<T> T
getService
(Class<T> serviceClass) Gets the service instance given its API class.void
void
-
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:ServiceProvider
Gets the service instance given its API class.- Specified by:
getService
in interfaceServiceProvider
-