internal void Deserialize(byte[] data, IntegrityCheckResponseMessage expected) { var message = IntegrityCheckResponseMessageSerializer.Default.Deserialize(data); message.PacketType.Should().Be(expected.PacketType); message.DpnidRequesting.Should().Be(expected.DpnidRequesting); }
internal void Serialize(byte[] expected, IntegrityCheckResponseMessage message) { IntegrityCheckResponseMessageSerializer.Default.Serialize(message).Should().Equal(expected); }