public void NumberOfPropertiesShouldBe10() { int dataProperties = typeof(TransactionDto).CountProperties(); Assert.AreEqual(10, dataProperties); } }