org.unitils.mock.mockbehavior.impl
Class NoopMockBehavior
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopMockBehavior
public NoopMockBehavior()
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.