protected static void EqualTo(AckResult source, ErrorReceiptCode target) { Assert.IsNotNull(source); Assert.IsNotNull(target); Assert.That(source.errorcode, Is.EqualTo(target.errorcode)); }
protected static void EqualTo(AckResult source, ErrorReceiptCode target, string arg0, string arg1, string arg2) { Assert.IsNotNull(source); Assert.IsNotNull(target); Assert.That(source.errorcode, Is.EqualTo(target.errorcode)); var Value = string.Format(target.Value, arg0, arg1, arg2); Assert.That(source.Value, Is.EqualTo(Value)); }