### Question:
BaseHeader implements ISOHeader, Loggeable { public void swapDirection() {} BaseHeader();  BaseHeader(byte[] header); Object clone(); byte[] pack(); int unpack(byte[] header); int getLength(); void setDestination(String dst); void setSource(String src); String getDestination(); String getSource(); void swapDirection(); void dump(PrintStream p, String indent); void setAsciiEncoding(boolean asciiEncoding); boolean isAsciiEncoding();  }### Answer:
@Test public void testSwapDirection() throws Throwable { byte[] header = new byte[0]; BaseHeader baseHeader = new BaseHeader(header); baseHeader.swapDirection(); assertEquals(0, baseHeader.getLength(), "baseHeader.getLength()"); }