Added proper tests for front-controller pattern

This commit is contained in:
Jeroen Meulemeester
2015-12-13 13:58:39 +01:00
parent dbca06a9e7
commit 9059d2b96c
6 changed files with 263 additions and 0 deletions
@@ -0,0 +1,20 @@
package com.iluwatar.front.controller;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Date: 12/13/15 - 1:35 PM
*
* @author Jeroen Meulemeester
*/
public class ApplicationExceptionTest {
@Test
public void testCause() throws Exception {
final Exception cause = new Exception();
assertSame(cause, new ApplicationException(cause).getCause());
}
}