use of jmri.SignalSystem in project JMRI by JMRI.
the class SignalHeadSignalMastTest method testSignalSystemLink.
@Test
public void testSignalSystemLink() {
SignalMast s = InstanceManager.getDefault(jmri.SignalMastManager.class).provideSignalMast("IF$shsm:basic:one-searchlight:IH2");
SignalSystem sy = s.getSignalSystem();
Assert.assertNotNull(sy);
Assert.assertEquals("Proceed", s.getSignalSystem().getProperty("Clear", "indication"));
}
Aggregations