@Test
public void shouldOverrideValueForEndpoint() throws Exception {

    mockEndpoint();
    DefaultMethodConfigBuilder toTest = newToTest();
    MethodConfig actual = toTest.build();
    assertCommons(actual);
    assertSame(mockRegexPathTemplate, actual.getPathTemplate());
}