34 lines
734 B
Java
34 lines
734 B
Java
package jmri.jmrit.withrottle;
|
|
|
|
import jmri.InstanceManager;
|
|
import jmri.NamedBeanHandleManager;
|
|
import jmri.util.JUnitUtil;
|
|
|
|
import org.junit.Assert;
|
|
import org.junit.jupiter.api.*;
|
|
|
|
/**
|
|
* Test simple functioning of WiThrottleManager
|
|
*
|
|
* @author Paul Bender Copyright (C) 2016
|
|
*/
|
|
public class WiThrottleManagerTest {
|
|
|
|
@Test
|
|
public void testCtor() {
|
|
WiThrottleManager panel = new WiThrottleManager();
|
|
Assert.assertNotNull("exists", panel );
|
|
}
|
|
|
|
@BeforeEach
|
|
public void setUp() {
|
|
JUnitUtil.setUp();
|
|
InstanceManager.setDefault(NamedBeanHandleManager.class, new NamedBeanHandleManager());
|
|
}
|
|
|
|
@AfterEach
|
|
public void tearDown() {
|
|
JUnitUtil.tearDown();
|
|
}
|
|
}
|