@Test public void testEquals() throws Exception { assertThat(psnp.equals(new Psnp(new IsisHeader())), is(true)); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Psnp that = (Psnp) o; return Objects.equal(pduLength, that.pduLength); }
Psnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Psnp that = (Psnp) o; return Objects.equal(pduLength, that.pduLength); } }
Psnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Psnp that = (Psnp) o; return Objects.equal(pduLength, that.pduLength); } Psnp(IsisHeader isisHeader); }
Psnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Psnp that = (Psnp) o; return Objects.equal(pduLength, that.pduLength); } Psnp(IsisHeader isisHeader); void addTlv(IsisTlv isisTlv); List<IsisTlv> getAllTlv(); String sourceId(); void setSourceId(String sourceId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] isisPduHeader(); byte[] partialSequenceNumberPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); }
Psnp extends IsisHeader { @Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } Psnp that = (Psnp) o; return Objects.equal(pduLength, that.pduLength); } Psnp(IsisHeader isisHeader); void addTlv(IsisTlv isisTlv); List<IsisTlv> getAllTlv(); String sourceId(); void setSourceId(String sourceId); int pduLength(); void setPduLength(int pduLength); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); byte[] isisPduHeader(); byte[] partialSequenceNumberPduBody(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode();  }