### Question:
SerialPortInfo { public String getPortDescription() { return portDescription; } SerialPortInfo(String portName);  SerialPortInfo(String portName, String portDescription); String getPortName(); String getPortDescription(); void setPortDescription(String portDescription);  }### Answer:
@Test public final void testGetPortDescription() { String name = "/dev/ttyS0"; String description = "This is another description"; SerialPortInfo info = new SerialPortInfo(name, description); String result = info.getPortDescription(); assertThat(result, is(equalTo(description))); }