I\'m trying to write a unit test, and to do that I\'m writing a when statement for a Mockito mock, but I can\'t seem to get eclipse to recognize that my return value is valid.