* Unit tests for the {@link PropagateAbiquoExceptionOnNotFoundOr4xx} function.
*/
@Test(groups = "unit", testName = "PropagateAbiquoExceptionOnNotFoundOr4xxTest")
public class PropagateAbiquoExceptionOnNotFoundOr4xxTest {
public void testOriginalExceptionIfNotResourceNotFound() {
PropagateAbiquoExceptionOnNotFoundOr4xx function = new PropagateAbiquoExceptionOnNotFoundOr4xx();
RuntimeException exception = new RuntimeException();
try {
function.create(exception);
} catch (Exception ex) {
assertEquals(ex, exception);
}
}