org.unitils.mock.mockbehavior.impl
Class NoopMockBehavior

java.lang.Object
  extended by org.unitils.mock.mockbehavior.impl.NoopMockBehavior
All Implemented Interfaces:
MockBehavior

public class NoopMockBehavior
extends Object
implements MockBehavior

Mock behavior that does nothing.

Author:
Tim Ducheyne, Filip Neven

Constructor Summary
NoopMockBehavior()
           
 
Method Summary
 Object execute(ProxyInvocation proxyInvocation)
          Empty mock behavior.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopMockBehavior

public NoopMockBehavior()
Method Detail

execute

public Object execute(ProxyInvocation proxyInvocation)
Empty mock behavior.

Specified by:
execute in interface MockBehavior
Parameters:
proxyInvocation - The proxy method invocation, not null
Returns:
null


Copyright © 2011. All Rights Reserved.