Merge pull request #1 from mrietveld/rest-status-compare-6.0.x

==fix for BZ-1070878 ==

getEnum() method implementation changed
added test for getEnum() method