// Path: src/main/java/org/wmaop/aop/interceptor/InterceptResult.java
// public class InterceptResult {
// 	
// 	public static final InterceptResult TRUE = new InterceptResult(true);
// 	public static final InterceptResult FALSE = new InterceptResult(false);
// 
// 	private final boolean hasIntercepted;
// 	private final Exception exception;
// 
// 	public InterceptResult(boolean hasIntercepted) {
// 		this.hasIntercepted = hasIntercepted;
// 		exception = null;
// 	}
// 
// 	public InterceptResult(boolean hasIntercepted, Exception e) {
// 		this.exception = e;
// 		this.hasIntercepted = hasIntercepted;
// 	}
// 
// 	public boolean hasIntercepted() {
// 		return hasIntercepted;
// 	}
// 
// 	public Exception getException() {
// 		return exception;
// 	}
// 	
// 	
// }


import static org.junit.Assert.*;
import org.junit.Test;
import org.wmaop.aop.interceptor.InterceptResult;
package org.wmaop.interceptor.mock.exception;



public class ExceptionInterceptorTest {

	private static final String RUNTIME_EXCEPTION = "java.lang.RuntimeException";

	@Test
	public void shouldHandleExceptionInstance() throws Exception {

		Exception exception = new Exception();
		ExceptionInterceptor ei = new ExceptionInterceptor(exception);
		
// Path: src/main/java/org/wmaop/aop/interceptor/InterceptResult.java
// public class InterceptResult {
// 	
// 	public static final InterceptResult TRUE = new InterceptResult(true);
// 	public static final InterceptResult FALSE = new InterceptResult(false);
// 
// 	private final boolean hasIntercepted;
// 	private final Exception exception;
// 
// 	public InterceptResult(boolean hasIntercepted) {
// 		this.hasIntercepted = hasIntercepted;
// 		exception = null;
// 	}
// 
// 	public InterceptResult(boolean hasIntercepted, Exception e) {
// 		this.exception = e;
// 		this.hasIntercepted = hasIntercepted;
// 	}
// 
// 	public boolean hasIntercepted() {
// 		return hasIntercepted;
// 	}
// 
// 	public Exception getException() {
// 		return exception;
// 	}
// 	
// 	
// }


// Path: src/test/java/org/wmaop/interceptor/mock/exception/ExceptionInterceptorTest.java
import static org.junit.Assert.*;
import org.junit.Test;
import org.wmaop.aop.interceptor.InterceptResult;

package org.wmaop.interceptor.mock.exception;



public class ExceptionInterceptorTest {

	private static final String RUNTIME_EXCEPTION = "java.lang.RuntimeException";

	@Test
	public void shouldHandleExceptionInstance() throws Exception {

		Exception exception = new Exception();
		ExceptionInterceptor ei = new ExceptionInterceptor(exception);
		
		InterceptResult ir = ei.intercept(null, null);