@Test
 public void accessControlAllowMethods() {
   List<HttpMethod> allowedMethods = headers.getAccessControlAllowMethods();
   assertThat(allowedMethods, Matchers.emptyCollectionOf(HttpMethod.class));
   headers.setAccessControlAllowMethods(Arrays.asList(HttpMethod.GET, HttpMethod.POST));
   allowedMethods = headers.getAccessControlAllowMethods();
   assertEquals(allowedMethods, Arrays.asList(HttpMethod.GET, HttpMethod.POST));
 }