public void Constructor_ShouldSetProperties()
        {
            var dut = new ResponsibleDto(3, "RC", "RD", "AAAAAAAAABA=");

            Assert.AreEqual(3, dut.Id);
            Assert.AreEqual("RC", dut.Code);
            Assert.AreEqual("RD", dut.Description);
            Assert.AreEqual("AAAAAAAAABA=", dut.RowVersion);
        }
Beispiel #2
0
 public StepDto(int id, string title, bool isVoided, ModeDto mode, ResponsibleDto responsible, AutoTransferMethod autoTransferMethod, string rowVersion)
 {
     Id                 = id;
     Title              = title;
     IsVoided           = isVoided;
     Mode               = mode;
     Responsible        = responsible;
     AutoTransferMethod = autoTransferMethod;
     RowVersion         = rowVersion;
 }