36 lines
826 B
Java
36 lines
826 B
Java
package jmri.jmrix.loconet;
|
|
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.jupiter.api.*;
|
|
|
|
/**
|
|
*
|
|
* @author Paul Bender Copyright (C) 2017
|
|
*/
|
|
public class LnLightTest {
|
|
|
|
@Test
|
|
public void testCTor() {
|
|
LocoNetSystemConnectionMemo memo = new LocoNetSystemConnectionMemo();
|
|
LnTrafficController lnis = new LocoNetInterfaceScaffold(memo);
|
|
memo.setLnTrafficController(lnis);
|
|
LnLightManager lm = new LnLightManager(memo);
|
|
LnLight t = new LnLight("LL1", lnis, lm);
|
|
Assert.assertNotNull("exists", t);
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
JUnitUtil.tearDown();
|
|
}
|
|
|
|
// private static final Logger log = LoggerFactory.getLogger(LnLightTest.class);
|
|
}
|