Ad
  • Default User Avatar

    This seems to be a very poorly written test. A lot of the conditions are only made clear in the test cases, and the description explicitly states that the method should return false in some cases and String in others, yet the method return value is String. It's not clear that it actually means it should return an empty string when it's invalid, unless you look at the tests