source: class DefaultMethodConfigBuilderTest {
  
      private final InterfaceConfigBuilder interfaceConfigBuilder;
      private final DefaultParamConfigBuilder mockParamConfigBuilder1;
      private final DefaultParamConfigBuilder mockParamConfigBuilder2;
      private final DefaultParamConfigBuilder mockExtraParamConfigBuilder1;
      private final DefaultParamConfigBuilder mockExtraParamConfigBuilder2;
      private final RegexPathTemplate mockRegexPathTemplate;
      private final Method method;
      private final CRestConfig mockCRestConfig;
      private final ComponentRegistry<String, Deserializer> mockMimeDeserializerRegistry;
      private final ComponentRegistry<Class<?>, Serializer> mockClassSerializerRegistry;
      private final ParamConfig mockM1ParamConfig1;
      private final ParamConfig mockM1ParamConfig2;
      private final ParamConfig mockExtraParamConfig1;
      private final ParamConfig mockExtraParamConfig2;
  
      @Test
      public void shouldOverrideValueForConnectionTimeout() throws Exception {
  
target:         mockEndpoint();
          mockOverride(MethodConfig.METHOD_CONFIG_DEFAULT_CO_TIMEOUT, 10);
          DefaultMethodConfigBuilder toTest = newToTest();
          MethodConfig actual = toTest.build();
          assertCommons(actual);
          assertEquals(10,actual.getConnectionTimeout());
      }
  
  }