org.apache.openejb.mockito
Class MockitoInjector

java.lang.Object
  extended by 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


Constructor Summary
MockitoInjector()
           
 
Method Summary
 Object getValue(Injection injection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockitoInjector

public MockitoInjector()
Method Detail

getValue

public Object getValue(Injection injection)
Specified by:
getValue in interface FallbackPropertyInjector


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.