STYLE: Coverity 1103119: Logically dead code

Added TEST_SET_GET_VALUE() macros to verify basic use of the
itkRegistrationMethod Set and Get methods.

Following from Brian Helba's review of coverity reported issues.

Change-Id: I17ebb3262cfc44f97edb5fe84b8caa8e12d1f769
Merge topic 'cov_1103119'

65d953db STYLE: Coverity 1103119: Logically dead code