I think this class should be moved to an inner static class of the test that uses it, or just be an anonymous HostnameVerifier instance there.  Right now it is package private with no main-code referencing it.