NATBehavior implements Attribute { @Override public AttributeType getType() { return NATSTUNAttributeType.NAT_BEHAVIOR; } NATBehavior();  NATBehavior(final NATFeatureRealization mapping, final NATFeatureRealization filtering); NATFeatureRealization getFeatureRealization(final NATFeature natFeature); Set<NATFeature> getNATFeatures(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); static NATBehavior fromBytes(final byte[] encoded, final AttributeHeader header); @Override AttributeType getType(); @Override int getLength(); @Override void writeTo(final OutputStream out);  }
@Test public void testGetAttributeType() { assertEquals("Type must be correct.", this.behavior.getType(), NATSTUNAttributeType.NAT_BEHAVIOR); }