public void ToPriceAndEquals() { var a = new Accounting() { Description = "xyz" }; var p = new Price(1, 10, CurrencyUnit.EUR) { Description = "abc", Accounting = a, Stamp = DateTime.Now }; Assert.AreEqual(p, p.AsPrice()); }