public class LifecycleVisitorTestCase
extends org.jmock.MockObjectTestCase
| Modifier and Type | Class and Description |
|---|---|
static class |
LifecycleVisitorTestCase.Four |
static class |
LifecycleVisitorTestCase.One |
static class |
LifecycleVisitorTestCase.RecordingLifecycle |
static class |
LifecycleVisitorTestCase.Three |
static class |
LifecycleVisitorTestCase.Two |
| Constructor and Description |
|---|
LifecycleVisitorTestCase() |
| Modifier and Type | Method and Description |
|---|---|
void |
testPicoIntrospectionExceptionForInaccessibleMethod() |
void |
testPicoIntrospectionExceptionForInvalidMethod() |
void |
testPicoIntrospectionExceptionForThrownException() |
void |
testShouldAllowCustomLifecycle() |
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newCoreMock, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwExceptionand, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toStringregisterToVerify, runBare, unregisterToVerify, verifycountTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSamepublic void testShouldAllowCustomLifecycle()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void testPicoIntrospectionExceptionForInvalidMethod()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void testPicoIntrospectionExceptionForThrownException()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodExceptionpublic void testPicoIntrospectionExceptionForInaccessibleMethod()
throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException