test.jmock.core.stub
Class ThrowStubTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
test.jmock.core.stub.ThrowStubTest
- All Implemented Interfaces:
- Test
- public class ThrowStubTest
- extends TestCase
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, failNotEquals, failNotSame, failSame |
ThrowStubTest
public ThrowStubTest()
setUp
public void setUp()
testThrowsThrowableObjectPassedToConstructorWhenInvoked
public void testThrowsThrowableObjectPassedToConstructorWhenInvoked()
testIncludesDetailsOfThrowableInDescription
public void testIncludesDetailsOfThrowableInDescription()
testThrowsAssertionFailedErrorIfTriesToThrowIncompatibleCheckedException
public void testThrowsAssertionFailedErrorIfTriesToThrowIncompatibleCheckedException()
throws Throwable
- Throws:
Throwable
testGivesInformativeErrorMessageIfAttemptToThrowCheckedExceptionFromMethodWithNoExceptions
public void testGivesInformativeErrorMessageIfAttemptToThrowCheckedExceptionFromMethodWithNoExceptions()
throws Throwable
- Throws:
Throwable
testDoesNotCheckTypeCompatiblityOfUncheckedExceptions
public void testDoesNotCheckTypeCompatiblityOfUncheckedExceptions()
throws Throwable
- Throws:
Throwable
testDoesNotCheckTypeCompatiblityOfErrors
public void testDoesNotCheckTypeCompatiblityOfErrors()
throws Throwable
- Throws:
Throwable
testSetsStackTraceWhenExceptionIsThrown
public void testSetsStackTraceWhenExceptionIsThrown()