org.jmock.cglib
Class MockObjectTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.core.VerifyingTestCase
org.jmock.core.MockObjectSupportTestCase
org.jmock.MockObjectTestCase
org.jmock.cglib.MockObjectTestCase
- All Implemented Interfaces:
- Test
public abstract class MockObjectTestCase
- extends MockObjectTestCase
Methods inherited from class org.jmock.MockObjectTestCase |
atLeastOnce, defaultMockNameForType, exactly, mock, mock, never, never, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException |
Methods inherited from class org.jmock.core.MockObjectSupportTestCase |
and, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, contains, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, newDummy, newDummy, newDummy, not, or, same, stringContains |
Methods inherited from class junit.framework.Assert |
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 |
MockObjectTestCase
public MockObjectTestCase()
mock
public Mock mock(Class mockedClass,
String roleName,
Class[] constructorArgumentTypes,
Object[] constructorArguments)
mock
public Mock mock(Class mockedClass,
Class[] constructorArgumentTypes,
Object[] constructorArguments)
newCoreMock
protected DynamicMock newCoreMock(Class mockedType,
String roleName)
- Overrides:
newCoreMock
in class MockObjectTestCase
newCoreMock
protected DynamicMock newCoreMock(Class mockedClass,
String roleName,
Class[] constructorArgumentTypes,
Object[] constructorArguments)