@Test
public void setMethodsErrorHandlerShouldSetErrorHandlerOnAllMethodConfigs(){

    assertSame(toTest, toTest.setMethodsErrorHandler(ErrorHandler.class));
    verify(mockM1MethodConfigBuilder).setErrorHandler(ErrorHandler.class);
    verify(mockM2MethodConfigBuilder).setErrorHandler(ErrorHandler.class);
}