} catch (IllegalArgumentException expected) {
}
}
public void testGettersSetters() {
RetryWithHttpEntryPoint ep = new RetryWithHttpEntryPoint();
PortMapper portMapper = mock(PortMapper.class);
PortResolver portResolver = mock(PortResolver.class);
RedirectStrategy redirector = mock(RedirectStrategy.class);
ep.setPortMapper(portMapper);
ep.setPortResolver(portResolver);
ep.setRedirectStrategy(redirector);
assertSame(portMapper, ep.getPortMapper());
assertSame(portResolver, ep.getPortResolver());
assertSame(redirector, ep.getRedirectStrategy());
}