mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 12:59:00 +00:00
20 lines
381 B
Java
20 lines
381 B
Java
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());
|
|
}
|
|
|
|
} |