1 package org.drools.reteoo;
2
3 import junit.framework.TestCase;
4
5 public class ReteExceptionTest extends TestCase
6 {
7 public ReteExceptionTest(String name)
8 {
9 super( name );
10 }
11
12 public void testConstruct_WithCause()
13 {
14 Exception root = new Exception( "root cause" );
15 ReteException e = new ReteException( root );
16
17 assertSame( root,
18 e.getRootCause() );
19 }
20 }
This page was automatically generated by Maven