Create a TotalAmount property in base class that has fixed value for total amount. Try initializing it with an equation so that people know how you calculated the value. Use this property here in assert