Test it to death.
NOTE: The tests use String literals to ensure the comparisons are not performed on object references.