private static TestObject CreateTestObject() { TestObject data = new TestObject(); data.ID = UuidHelper.NewUuidString(); data.Name = "Hello"; //data.Amount = 2500; data.Amount = 240000; return data; }
public void DecryptAmountProperty() { DataTable table = PrepareTestTable(); TestObject data = new TestObject(); ORMapping.DataRowToObject(table.Rows[0], data); Console.WriteLine(data.Amount); Assert.AreEqual(240000, data.Amount); }