Just eyeballing this, I can tell it wouldn't compile ... partly because you've capitalized the "I" in "if" and partly because you don't have a return statement for the case when value is not "value1" or "value2". How can
JUnit tests pass or fail if you can't even compile the class?