use of jmri.DccLocoAddress in project JMRI by JMRI.
the class NceConsistTest method testCtor2.
@Test
public void testCtor2() {
// DccLocoAddress constructor test.
NceConsist c = new NceConsist(new DccLocoAddress(3, false), memo);
// send a reply the memory read instruction trigged by the constructor above.
nnis.sendTestReply(new NceReply(nnis, "00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00"), null);
Assert.assertNotNull(c);
c.dispose();
}
Aggregations