org.unitils.mock.core
Class PartialMockProxy<T>

java.lang.Object
  extended by org.unitils.mock.core.MockProxy<T>
      extended by org.unitils.mock.core.PartialMockProxy<T>

public class PartialMockProxy<T>
extends MockProxy<T>


Nested Class Summary
 
Nested classes/interfaces inherited from class org.unitils.mock.core.MockProxy
MockProxy.InvocationHandler
 
Field Summary
 
Fields inherited from class org.unitils.mock.core.MockProxy
alwaysMatchingBehaviorDefiningInvocations, matchingInvocationBuilder, oneTimeMatchingBehaviorDefiningInvocations, proxy, scenario
 
Constructor Summary
PartialMockProxy(String mockName, Class<T> mockedType, BehaviorDefiningInvocations oneTimeMatchingBehaviorDefiningInvocations, BehaviorDefiningInvocations alwaysMatchingBehaviorDefiningInvocations, Scenario scenario, MatchingInvocationBuilder syntaxMonitor)
           
 
Method Summary
protected  MockBehavior getDefaultMockBehavior(ProxyInvocation proxyInvocation)
           
 
Methods inherited from class org.unitils.mock.core.MockProxy
assertCanExecute, getMatchingBehaviorDefiningInvocation, getProxy, getValidMockBehavior, handleMockInvocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PartialMockProxy

public PartialMockProxy(String mockName,
                        Class<T> mockedType,
                        BehaviorDefiningInvocations oneTimeMatchingBehaviorDefiningInvocations,
                        BehaviorDefiningInvocations alwaysMatchingBehaviorDefiningInvocations,
                        Scenario scenario,
                        MatchingInvocationBuilder syntaxMonitor)
Method Detail

getDefaultMockBehavior

protected MockBehavior getDefaultMockBehavior(ProxyInvocation proxyInvocation)
Overrides:
getDefaultMockBehavior in class MockProxy<T>


Copyright © 2011. All Rights Reserved.