assertEquals(0, pr.getAlwaysHttpPort()); assertEquals(0, pr.getAlwaysHttpsPort());  pr.setAlwaysHttpPort(80); pr.setAlwaysHttpsPort(443); assertEquals(80, pr.getAlwaysHttpPort()); assertEquals(443, pr.getAlwaysHttpsPort());
assertTrue(pr.getPortMapper() != null); pr.setPortMapper(new PortMapperImpl()); assertTrue(pr.getPortMapper() != null);
    public void testGettersSetters() throws Exception {        PortResolverImpl pr = new PortResolverImpl();        assertEquals(0, pr.getAlwaysHttpPort());        assertEquals(0, pr.getAlwaysHttpsPort());        pr.setAlwaysHttpPort(80);        pr.setAlwaysHttpsPort(443);        assertEquals(80, pr.getAlwaysHttpPort());        assertEquals(443, pr.getAlwaysHttpsPort());    }