@Test
 public void testDefaultConfig() {
   HttpMethodOverrideFilter f = new HttpMethodOverrideFilter(new ResourceConfig());
   assertTrue(
       HttpMethodOverrideFilter.Source.HEADER.isPresentIn(f.config)
           && HttpMethodOverrideFilter.Source.QUERY.isPresentIn(f.config));
 }
 @Test
 public void testQueryOnlyConfig() {
   HttpMethodOverrideFilter f =
       new HttpMethodOverrideFilter(
           new ResourceConfig().property(ServerProperties.HTTP_METHOD_OVERRIDE, "QUERY"));
   assertTrue(
       !HttpMethodOverrideFilter.Source.HEADER.isPresentIn(f.config)
           && HttpMethodOverrideFilter.Source.QUERY.isPresentIn(f.config));
 }
 @Test
 public void testInitWithStringArrayConfig() {
   HttpMethodOverrideFilter f =
       new HttpMethodOverrideFilter(
           new ResourceConfig()
               .property(ServerProperties.HTTP_METHOD_OVERRIDE, new String[] {"HEADER"}));
   assertTrue(
       HttpMethodOverrideFilter.Source.HEADER.isPresentIn(f.config)
           && !HttpMethodOverrideFilter.Source.QUERY.isPresentIn(f.config));
 }