Merge pull request #2111 from teleivo/conceptattributevalidatortest
Cleanup and add tests to ConceptAttributeTypeValidatorTest
teleivo <mrteleivo@gmail.com>
a05edb057fc321facbbeefe4af43111eb97f9532
TRUNK-5135 Deprecate @Verifies
all usages of @Verifies and @verifies were removed in TRUNK-5122
and thus @Verifies is deprecated and flagged using checkstyle
teleivo <mrteleivo@gmail.com>
d6c2b56988f5d54427d765664a7f8e8789ca1170
Cleanup and add tests to ConceptAttributeTypeValidatorTest
* add setUp method preparing variables needed for tests to remove
duplication in test setup
* split tests for null, empty, whitespace name since they are
independent
* add assertions for error code so we ensure that when devs refactor
the code the user will still get the excpected error message
* move happy path tests to the end, which makes side by side reading of
code and test easy