@Test public void testGetConsistType() { NceConsist c = new NceConsist(3, 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.assertEquals("default consist type", jmri.Consist.ADVANCED_CONSIST, c.getConsistType()); c.dispose(); }