Created some extra unit tests for DomainObjectBase IsValid and Errors properties.
- Added the virtual method Validate() into DomainObjectBase class performing the custom validation logic for the domain object;
- Implemented custom validation for Customer and Account mocks;
- Created the set of unit tests checking Validate() method behavior;
- Implemented custom validation functionality for business domain model objects.
- Added two helper methods to DomainObjectBase class allowing to add validation error into Errors collection;
- Used newly added methods in custom validation logic implemented in Account and Customer classes.
- Created ISimpleDictionaryItem interface as the base interface for all dictionary items.
- Implemented ISimpleDictionaryItem interface by SimpleDictionaryItem class;
- Created the set of unit tests for Code and Name properties of SimpleDictionaryItem class;
- Created TradeType mock class inherited from SimpleDictionaryItem;
- Added LONG_STRING constant into UnitTestHelper class.
- Added DisplayName property into ISimpleDictionaryItem interface;
- Implemented Equals, GetHashCode, and ToString() methods in SimpleDictionaryItem class;
- Created the set of unit tests for newly implemented methods.