NATTraversalTechniqueAttribute implements Attribute { public int getEncoded() { return this.encoded; } NATTraversalTechniqueAttribute(final int encoded); int getEncoded(); @Override AttributeType getType(); @Override int getLength(); @Override void writeTo(final OutputStream out); @Override int hashCode(); @Override boolean equals(Object obj); static NATTraversalTechniqueAttribute fromBytes(final byte[] encoded, final AttributeHeader header);  }
@Test public void testGetEncoded() { assertEquals(ENCODED, this.attr.getEncoded()); }