|
|||||||||||||||||||
| Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
| AssertionFailedErrorWrapper.java | - | 100% | 100% | 100% |
|
||||||||||||||
| 1 | /* | |
| 2 | * Copyright (c) 2001-2005 OFFIS. This program is made available under the terms of | |
| 3 | * the MIT License. | |
| 4 | */ | |
| 5 | package org.easymock.internal; | |
| 6 | ||
| 7 | import junit.framework.AssertionFailedError; | |
| 8 | ||
| 9 | public class AssertionFailedErrorWrapper extends RuntimeException { | |
| 10 | private final AssertionFailedError error; | |
| 11 | ||
| 12 | 125 | public AssertionFailedErrorWrapper(final AssertionFailedError error) { |
| 13 | 125 | this.error = error; |
| 14 | } | |
| 15 | ||
| 16 | 62 | public AssertionFailedError getAssertionFailedError() { |
| 17 | 62 | return error; |
| 18 | } | |
| 19 | } |
|
||||||||||