org.kuali.rice.kew.test
Class FakeServiceImpl
java.lang.Object
org.kuali.rice.kew.test.FakeServiceImpl
- All Implemented Interfaces:
- FakeService
public class FakeServiceImpl
- extends Object
- implements FakeService
A generic, reusable fake service that records invocations, for testing purposes
TODO: consider merging with TestServiceInterface
/GenericTestService
in KSB module
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
FakeService
,
GenericTestService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeServiceImpl
public FakeServiceImpl()
getInvocations
public List<FakeServiceImpl.Invocation> getInvocations()
- Specified by:
getInvocations
in interface FakeService
- Returns:
- the invocations made up to this point
method1
public void method1(Object arg1,
Object arg2)
- An arbitrary method
- Specified by:
method1
in interface FakeService
- Parameters:
arg1
- doesn't matterarg2
- doesn't matter
method2
public Object method2(Object arg1)
- An arbitrary method
- Specified by:
method2
in interface FakeService
- Parameters:
arg1
- doesn't matter
- Returns:
- a
Date
instance
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.