@Test
public void testFollowRedirects() throws Exception {
final URL redirect = getUrl("redirect");
FetchOptions options = buildFetchOptions();
options.followRedirects();
testOptions(redirect, options, new ResponseHandler() {
public void handle(HTTPResponse response) throws Exception {
URL finalURL = response.getFinalUrl();
Assert.assertEquals(getUrl(""), finalURL);
}