@Test
public void testCaseInsensitivity() throws Exception {

    DefaultHostsFileEntriesResolver resolver = new DefaultHostsFileEntriesResolver();
    //normalized somehow
    Assert.assertEquals(resolver.normalize("localhost"), resolver.normalize("LOCALHOST"));
}