@Test
public void succeedIfPropertyTrue() {

    DefaultConfigurator.setAllowRestrictedHeadersProperty("true");
    assertEquals(
            "true",
            System.getProperty(DefaultConfigurator.SUN_NET_HTTP_ALLOW_RESTRICTED_HEADERS));
}