What's the purpose of this test? Test comapreTo() of String? Btw: for such test junit test with some mocking would be IMHO more appropriate (at least because of time consumed by Jenkins to start in the test)