| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| ExceptionAssert |
|
| 1.0;1 |
| 1 | package net.sf.cotta.test.assertion; | |
| 2 | ||
| 3 | public class ExceptionAssert extends BaseAssert<Throwable, ExceptionAssert> { | |
| 4 | public ExceptionAssert(Throwable value) { | |
| 5 | 4 | super(value); |
| 6 | 4 | } |
| 7 | ||
| 8 | @SuppressWarnings({"ThrowableResultOfMethodCallIgnored"}) | |
| 9 | public StringAssert message() { | |
| 10 | 3 | return new StringAssert(value().getMessage()); |
| 11 | } | |
| 12 | } |