retractionexceptiontest.java
来自「rule engine drools-2.0-beta-18」· Java 代码 · 共 23 行
JAVA
23 行
package org.drools;import junit.framework.TestCase;public class RetractionExceptionTest extends TestCase{ public void testConstruct() { RetractionException e = new RetractionException( ); assertNull( e.getRootCause( ) ); } public void testConstruct_WithRootCause() { Exception rootCause = new Exception( ); RetractionException e = new RetractionException( rootCause ); assertSame( rootCause, e.getRootCause( ) ); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?