NATTraversalTechniqueAttribute implements Attribute { @Override public AttributeType getType() { return NATSTUNAttributeType.NAT_TRAVERSAL_TECHNIQUE; } 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 testGetType() { assertEquals(NATSTUNAttributeType.NAT_TRAVERSAL_TECHNIQUE, this.attr.getType()); }