SystemException extends RuntimeException implements
                             ExceptionCodeProvider { @Override public String getCode() { return code; } SystemException(String code, String message, Throwable cause);  SystemException(String code, String message);  SystemException(String code, Throwable cause); @Override String getCode();  }
@Test public void testSystemExceptionStringStringThrowable() { SystemException ex = new SystemException(code, msg, cause); assertThat(ex.getCode(), is(code)); assertThat(ex.getMessage(), is(msg)); assertThat(ex.getCause(), is(cause)); }
@Test public void testSystemExceptionStringString() { SystemException ex = new SystemException(code, msg); assertThat(ex.getCode(), is(code)); assertThat(ex.getMessage(), is(msg)); }
@Test public void testSystemExceptionStringThrowable() { SystemException ex = new SystemException(code, cause); assertThat(ex.getCode(), is(code)); assertThat(ex.getCause(), is(cause)); }