public void testRun() throws SimulationException, StructuralException {
PassthroughNode node1 = new PassthroughNode("test", 2);
node1.getTermination(PassthroughNode.TERMINATION).setValues(
new SpikeOutputImpl(new boolean[]{true, false}, Units.UNK, 0));
node1.run(0, .01f);
SpikeOutput out1 = (SpikeOutput) node1.getOrigin(PassthroughNode.ORIGIN).getValues();
assertEquals(true, out1.getValues()[0]);
assertEquals(false, out1.getValues()[1]);
Map<String, float[][]> terminations2 = new HashMap<String, float[][]>(10);
terminations2.put("a", MU.I(2));
terminations2.put("b", MU.I(2));
PassthroughNode node2 = new PassthroughNode("test2", 2, terminations2);