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

40 lines
940 B
Java

package jmri.jmrix.dccpp;
import jmri.util.JUnitUtil;
import org.junit.Assert;
import org.junit.jupiter.api.*;
/**
*
* @author Paul Bender Copyright (C) 2017
*/
public class DCCppTurnoutReplyCacheTest {
@Test
public void testCTor() {
// infrastructure objects
DCCppInterfaceScaffold tc = new DCCppInterfaceScaffold(new DCCppCommandStation());
new DCCppSystemConnectionMemo(tc);
DCCppTurnoutReplyCache t = new DCCppTurnoutReplyCache(tc);
Assert.assertNotNull("exists",t);
}
@BeforeEach
public void setUp() {
JUnitUtil.setUp();
}
@AfterEach
public void tearDown() {
JUnitUtil.clearShutDownManager(); // put in place because AbstractMRTrafficController implementing subclass was not terminated properly
JUnitUtil.tearDown();
}
// private static final Logger log = LoggerFactory.getLogger(DCCppTurnoutReplyCacheTest.class);
}