org.apache.openejb.mockito
Class MockitoInjector
java.lang.Object
org.apache.openejb.mockito.MockitoInjector
- All Implemented Interfaces:
- FallbackPropertyInjector
public class MockitoInjector
- extends Object
- implements FallbackPropertyInjector
this class is instantiated when the FallbackPropertyInjector is set
it is generally when the container is started
it will reset mockito context (stored mocks) and do the mock injections in the test class
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockitoInjector
public MockitoInjector()
getValue
public Object getValue(Injection injection)
- Specified by:
getValue in interface FallbackPropertyInjector
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.