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, throwException
and, 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, toString
registerToVerify, runBare, unregisterToVerify, verify
countTestCases, createResult, getName, run, run, runTest, setName, setUp, tearDown, toString
assertEquals, 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, failSame
public void testShouldAllowCustomLifecycle() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void testPicoIntrospectionExceptionForInvalidMethod() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void testPicoIntrospectionExceptionForThrownException() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException
public void testPicoIntrospectionExceptionForInaccessibleMethod() throws java.lang.NoSuchMethodException
java.lang.NoSuchMethodException