@Test
public void setMethodsEndPointShouldSetEndPointOnAllMethodConfigs(){

    assertSame(toTest, toTest.setMethodsEndPoint("a"));
    verify(mockM1MethodConfigBuilder).setEndPoint("a");
    verify(mockM2MethodConfigBuilder).setEndPoint("a");
}