@Test public void testGetOspfLsaType() throws Exception { opaqueLsa10.setLsType(10); ospflsaType = opaqueLsa10.getOspfLsaType(); assertThat(ospflsaType, is(notNullValue())); assertThat(ospflsaType, is(OspfLsaType.AREA_LOCAL_OPAQUE_LSA)); }
@Override public OspfLsaType getOspfLsaType() { return OspfLsaType.AREA_LOCAL_OPAQUE_LSA; }
OpaqueLsa10 extends OpaqueLsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.AREA_LOCAL_OPAQUE_LSA; } }
OpaqueLsa10 extends OpaqueLsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.AREA_LOCAL_OPAQUE_LSA; } OpaqueLsa10(OpaqueLsaHeader lsaHeader); }
OpaqueLsa10 extends OpaqueLsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.AREA_LOCAL_OPAQUE_LSA; } OpaqueLsa10(OpaqueLsaHeader lsaHeader); List<TopLevelTlv> topLevelValues(); void addValue(TopLevelTlv value); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
OpaqueLsa10 extends OpaqueLsaHeader { @Override public OspfLsaType getOspfLsaType() { return OspfLsaType.AREA_LOCAL_OPAQUE_LSA; } OpaqueLsa10(OpaqueLsaHeader lsaHeader); List<TopLevelTlv> topLevelValues(); void addValue(TopLevelTlv value); void readFrom(ChannelBuffer channelBuffer); byte[] asBytes(); byte[] getLsaBodyAsByteArray(); @Override OspfLsaType getOspfLsaType(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }