35 lines
564 B
Java
35 lines
564 B
Java
package jmri.jmrix.lenz;
|
|
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.jupiter.api.*;
|
|
import org.junit.Assert;
|
|
|
|
/**
|
|
* XNetExceptionTest.java
|
|
*
|
|
* Test for the jmri.jmrix.lenz.XNetException class
|
|
*
|
|
* @author Paul Bender
|
|
*/
|
|
public class XNetExceptionTest {
|
|
|
|
@Test
|
|
public void testCtor() {
|
|
|
|
XNetException c = new XNetException("Test Exception");
|
|
Assert.assertNotNull(c);
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
JUnitUtil.tearDown();
|
|
}
|
|
|
|
}
|