@Test public void testSetChecksum() throws Exception { ospfPacketHeader.setChecksum(3); result = ospfPacketHeader.checksum(); assertThat(result, is(notNullValue())); assertThat(result, is(3)); }
public void setChecksum(int checkSum) { this.checkSum = checkSum; }
OspfPacketHeader implements OspfMessage { public void setChecksum(int checkSum) { this.checkSum = checkSum; } }
OspfPacketHeader implements OspfMessage { public void setChecksum(int checkSum) { this.checkSum = checkSum; }  }
OspfPacketHeader implements OspfMessage { public void setChecksum(int checkSum) { this.checkSum = checkSum; }  Ip4Address sourceIp(); void setSourceIp(Ip4Address sourceIp); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); int ospfVersion(); void setOspfVer(int ospfVer); int ospfType(); void setOspftype(int ospfType); int ospfPacLength(); void setOspfPacLength(int ospfPacLength); Ip4Address routerId(); void setRouterId(Ip4Address routerId); Ip4Address areaId(); void setAreaId(Ip4Address areaId); int checksum(); void setChecksum(int checkSum); int authType(); void setAuthType(int auType); int authentication(); void setAuthentication(int authentication); Ip4Address destinationIp(); void setDestinationIp(Ip4Address destinationIp); int interfaceIndex(); void setInterfaceIndex(int interfaceIndex); void populateHeader(OspfPacketHeader ospfPacketHeader); @Override String toString(); }
OspfPacketHeader implements OspfMessage { public void setChecksum(int checkSum) { this.checkSum = checkSum; }  Ip4Address sourceIp(); void setSourceIp(Ip4Address sourceIp); @Override OspfPacketType ospfMessageType(); @Override void readFrom(ChannelBuffer channelBuffer); @Override byte[] asBytes(); int ospfVersion(); void setOspfVer(int ospfVer); int ospfType(); void setOspftype(int ospfType); int ospfPacLength(); void setOspfPacLength(int ospfPacLength); Ip4Address routerId(); void setRouterId(Ip4Address routerId); Ip4Address areaId(); void setAreaId(Ip4Address areaId); int checksum(); void setChecksum(int checkSum); int authType(); void setAuthType(int auType); int authentication(); void setAuthentication(int authentication); Ip4Address destinationIp(); void setDestinationIp(Ip4Address destinationIp); int interfaceIndex(); void setInterfaceIndex(int interfaceIndex); void populateHeader(OspfPacketHeader ospfPacketHeader); @Override String toString();  }