Files
JIMRI/java/test/jmri/ProgReadExceptionTest.java
T
2026-06-17 14:00:51 +02:00

38 lines
780 B
Java

package jmri;
import jmri.util.JUnitUtil;
import org.junit.jupiter.api.*;
import static org.junit.jupiter.api.Assertions.assertNotNull;
/**
* Tests for ProgReadException class.
*
* @author Paul Bender Copyright (C) 2016
**/
public class ProgReadExceptionTest {
@Test
public void testConstructor(){
assertNotNull( new ProgReadException(), "ProgReadException constructor");
}
@Test
public void testStringConstructor(){
assertNotNull( new ProgReadException("test exception"), "ProgReadException string constructor");
}
@BeforeEach
public void setUp() {
JUnitUtil.setUp();
JUnitUtil.initDefaultUserMessagePreferences();
}
@AfterEach
public void tearDown(){
JUnitUtil.tearDown();
}
}