### Question:
Step extends TransferFunction implements Serializable { public Properties getProperties() { Properties properties = new Properties(); properties.setProperty("transferFunction.yHigh", String.valueOf(yHigh)); properties.setProperty("transferFunction.yLow", String.valueOf(yLow)); return properties; } Step();  Step(Properties properties); @Override double getOutput(double net); double getYHigh(); void setYHigh(double yHigh); double getYLow(); void setYLow(double yLow); Properties getProperties();  }### Answer:
@Test public void testGetProperties() { Properties expResult = new Properties(); expResult.setProperty("transferFunction.yHigh", String.valueOf(yhigh)); expResult.setProperty("transferFunction.yLow", String.valueOf(ylow)); Properties result = instance.getProperties(); assertEquals(expResult, result); }