public class ExceptionMatchersTest extends Object
| Constructor and Description |
|---|
ExceptionMatchersTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertThrows_failsIfNothingCaught() |
void |
assertThrows_failsIfWrongCauseCaught() |
void |
assertThrows_failsIfWrongThingCaught() |
void |
assertThrows_usingCauseClass() |
void |
assertThrows_usingExceptionClass() |
void |
catchingCaught_failsIfNoCauseToCheck() |
void |
catchingCaught_failsIfNothingCaught() |
void |
catchingCaught_failsIfWrongThingCaught() |
void |
catchingCaught_usingCauseClass() |
void |
catchingCaught_usingExceptionClass() |
void |
catchingCaughtNothing_failsIfSomethingCaught() |
void |
catchingCaughtNothing_passesIfNothingCaught() |
void |
shouldThrowExceptionForBadInput() |
public void assertThrows_usingExceptionClass()
public void assertThrows_usingCauseClass()
public void catchingCaught_usingExceptionClass()
public void catchingCaught_usingCauseClass()
public void assertThrows_failsIfNothingCaught()
public void catchingCaughtNothing_passesIfNothingCaught()
public void catchingCaughtNothing_failsIfSomethingCaught()
public void catchingCaught_failsIfNothingCaught()
public void catchingCaught_failsIfNoCauseToCheck()
public void assertThrows_failsIfWrongThingCaught()
public void assertThrows_failsIfWrongCauseCaught()
public void catchingCaught_failsIfWrongThingCaught()
public void shouldThrowExceptionForBadInput()
Copyright © 2017 Atlassian. All rights reserved.