net.sf.twip.jmock
Class TwiPjMockTest
java.lang.Object
net.sf.twip.jmock.TwiPjMockTest
public abstract class TwiPjMockTest
- extends java.lang.Object
Convenience upper class for tests that use TwiP and
JMock: It is annotated with TwiP and TwiPs JMock-Extension, declares
a Mockery instance, and a simple check(Expectations) method.
For an example, see
net.sf.twip.jmock.TwiPJMockTestWithInheritedMockery.
|
Field Summary |
protected org.jmock.Mockery |
mockery
A readily defined Mockery for subclasses to use |
|
Method Summary |
protected void |
check(org.jmock.Expectations expectations)
Add these Expectations to the Mockery. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mockery
protected final org.jmock.Mockery mockery
- A readily defined
Mockery for subclasses to use
TwiPjMockTest
public TwiPjMockTest()
check
protected void check(org.jmock.Expectations expectations)
- Add these
Expectations to the Mockery.
Copyright © 2010. All Rights Reserved.